title: Sort JavaScript object by key
body: <p>I need to sort JavaScript objects by key. </p>
  
  <p>Hence the following:</p>
  
  <pre><code>{ 'b' : 'asdsad', 'c' : 'masdas', 'a' : 'dsfdsfsdf' }
  </code></pre>
  
  <p>Would become:</p>
  
  <pre><code>{ 'a' : 'dsfdsfsdf', 'b' : 'asdsad', 'c' : 'masdas' }
  </code></pre>