title: Underscore JS - Sorting an Array of Objects
body: <p>I have an array made up of 80 individual objects. Within those individual objects I have a key: value pair. The key is <code>"number"</code> and values go from <code>"0001"</code> to <code>"0080"</code>.</p>
  
  <p>So the structure would be something like </p>
  
  <pre><code> myArray = [{number: "0001"}, {number: "0002"}, {number: "0003"} ]
  </code></pre>
  
  <p>and so on...</p>
  
  <p>I'm using Underscore, but I'm having trouble figuring out a way to order the individual objects so they're sorted 1,2,3,5. The values that are number are also strings.</p>
  
  <p>Any suggestions?</p>