title: Custom sorting tuples
body: <p>I am attempting to sort a list of tuples (the items from a dictionary if you must know). The first element is a lower case letter and the second is an integer. I want to sort by the second element in descending order. To break ties, I will use alphabetic order of the first element. So far I have</p>
  
  <pre><code>sorted_c = sorted(c.items(), key=operator.itemgetter(1), reverse=True)
  </code></pre>
  
  <p>This sorts by the second element of each tuple as I want. How do I tweak this to break ties?</p>
  
  <p><strong>Example input:</strong></p>
  
  <pre><code>[ ('b', 5), ('c', 10),('a', 27), ('a', 5) ]
  </code></pre>
  
  <p><strong>Expected output:</strong></p>
  
  <pre><code>[('a', 27), ('c', 10), ('a', 5), ('b', 5) ]
  </code></pre>