title: How can I arrange the tuples in this list according to the alphabets only if the numbers in tuples are equal?
body: <pre><code>clip = [('b', 12), ('e', 10),('d', 11),('a',12),('c', 10),('g',18)]
  </code></pre>
  
  <p>In this list the letter that has the highest number should be printed first i.e. in ascending order. Now if two letters have same numbers than it the letter that comes first in English alphabet should be printed first and the next one accordingly. How can I do that?
  This above list should be printed like this:</p>
  
  <pre><code>clip = [('g',18),('a',12),('b',12),('d',11),('c',10),('e',10)]
  </code></pre>
  
  <p>I tried most sorting methods I know like :</p>
  
  <pre><code>sorted(clip.items(), key = lambda x:(x[0],x[1]))
  </code></pre>