title: Sorting associative arrays in Python
body: <p>How can an associative array be sorted by key in <a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29" rel="noreferrer">Python</a>?</p>
  
  <p>I have the following structure:</p>
  
  <pre><code>people = [
      {'name' : 'Bob', 'number' : '123'},
      {'name' : 'Bill', 'number' : '234'},
      {'name' : 'Dave', 'number' : '567'},
  ]
  </code></pre>
  
  <p>I want to sort by name. Is there a built in function to do this?</p>