Suppose I have a Javascript object which is initialized
var letters = {q:0, t:0, o:0, b:0, y:0, n:0, u:0, m:0, p:0, w:0, a:0, d:0, k:0, v:0,
The order is not guaranteed. See this SO question for more information: Iterate over a Javascript associative array in sorted order.