title: Sort a list by multiple attributes?
body: <p>I have a list of lists:</p>
  
  <pre><code>[[12, 'tall', 'blue', 1],
  [2, 'short', 'red', 9],
  [4, 'tall', 'blue', 13]]
  </code></pre>
  
  <p>If I wanted to sort by one element, say the tall/short element, I could do it via <code>s = sorted(s, key = itemgetter(1))</code>.</p>
  
  <p>If I wanted to sort by <em>both</em> tall/short and colour, I could do the sort twice, once for each element, but is there a quicker way?</p>