title: How to sort a list of lists by one element ascending and another descending
body: <p>I need to order lists inside of a list by the numbers in decreasing order. If the number is the same, I have to order it in alphabetical order (increasing).</p>
  
  <p>For example if I have the following list:</p>
  
  <pre><code>mylist=[['a', 5], ['l', 2], ['u', 1], ['t', 1], ['q', 1], ['o', 1], ['e', 1]]
  </code></pre>
  
  <p>The output has to be like this:</p>
  
  <pre><code>[['a', 5], ['l', 2], ['e', 1], ['o', 1], ['q', 1], ['t', 1], ['u', 1]]
  </code></pre>
  
  <p>I have searched for this, but I can only found how to order a list. The problem here is that I have to order it by the alphabet just when the number is the same. So the order is first by the numbers (I´ve reached that already), and then I have to order it but the alphabet when the numbers are the same.</p>