title: jQuery each function doesn't use the order of the array
body: <p>I have an array returned by a JSON function looks like that :</p>
  
  <pre><code>{"178":"05HY24","179":"1HY12","292":"1HY24","180":"3HY12"}
  </code></pre>
  
  <p>I am using the function each to put elements to a select list : </p>
  
  <pre><code>$.each(value, function(k, v) {
                  select += '&lt;option value="'+ k +'"&gt;'+ v +'&lt;/option&gt;'
              }
  </code></pre>
  
  <p>The each function is not executed in the order of the array because the element with id 292 is always at the end of my list. And when I debug in the each function the last value launched is the element 292.
  How can I do to make a list by keeping the order of the array? </p>