title: sorting Array of Objects
body: <p>I have an Array like the following, how would I sort it by the keys of the objects it contains?</p>
  
  <pre><code>var myArray = [
      item : {
  
      },
      anotherItem : {
  
      }
  ];
  </code></pre>
  
  <p><strong>EDIT</strong>  </p>
  
  <p><code>myArray</code> is an Object not an Array. Does that change anything?</p>