title: How do I sort a list of python Django objects?
body: <p>In Django, I have a model object in a list.</p>
  
  <pre><code>[object, object, object]
  </code></pre>
  
  <p>Each object has ".name" which is the title of the thing.</p>
  
  <p>How do I sort alphabetically by this title?</p>
  
  <p>This doesn't work:</p>
  
  <pre><code>catlist.sort(key=lambda x.name: x.name.lower())
  </code></pre>