title: How do I sort a list of dictionaries by a value of the dictionary?
body: <p>How do I sort a list of dictionaries by a specific key's value? Given:</p>
  <pre><code>[{'name': 'Homer', 'age': 39}, {'name': 'Bart', 'age': 10}]
  </code></pre>
  <p>When sorted by <code>name</code>, it should become:</p>
  <pre><code>[{'name': 'Bart', 'age': 10}, {'name': 'Homer', 'age': 39}]
  </code></pre>