title: lodash - convert object map to array and sort by key
body: <p>I need to convert an object map (server response) to an array and order this by the object's key.</p>
  
  <p>Given:</p>
  
  <pre><code>var ppl = {
      1: { name: 'Fred', age: 31 },
      0: { name: 'Alice', age: 33 },
      3: { name: 'Frank', age: 34 },
      2: { name: 'Mary', age: 36 }
  }
  
  console.log(ppl);
  </code></pre>
  
  <p>It appears that the object when created is sorted by the key, the console shows this:</p>
  
  <pre><code>{
      0: { name: 'Alice', age: 33 }
      1: { name: 'Fred', age: 31 }
      2: { name: 'Mary', age: 36 }
      3: { name: 'Frank', age: 34 }
  }
  </code></pre>
  
  <p>Then I use lodash to convert to an array like this:</p>
  
  <pre><code>var arr = _.toArray(ppl);
  console.log(arr)
  </code></pre>
  
  <ol>
  <li>I don't think the order of the initial object map is guaranteed, is
  that correct?</li>
  <li>How can I ensure the array order is based on the object map's keys?</li>
  </ol>