title: Simple function to sort an array of objects
body: <p>I would like to create a (non-anonymous) function that sorts an array of objects alphabetically by the key <code>name</code>. I only code straight-out JavaScript so frameworks don't help me in the least.</p>
  
  <pre><code>var people = [
      {'name': 'a75', 'item1': false, 'item2': false},
      {'name': 'z32', 'item1': true,  'item2': false},
      {'name': 'e77', 'item1': false, 'item2': false}
  ];
  </code></pre>