title: sorted on basis of two keys, descending order sort for first and ascending for second
body: <p>I have a list of tuple:</p>
  
  <p><code>lst = [(1,2), (3,2), (1,3), (3,4)]</code></p>
  
  <p>I want to sort this list in <strong>descending order</strong> on basis of first key, but for <strong>same values of this key</strong>, list should be sorted on basis of second key but in <strong>ascending order</strong>.</p>
  
  <p>But if I do:</p>
  
  <p><code>srt_lst = sorted(lst, key=lambda val: (val[0], val[1]), reverse = True)</code></p>
  
  <p>It gives me:</p>
  
  <p><code>[(3, 4), (3, 2), (1, 3), (1, 2)]</code></p>
  
  <p>But List I am looking for is</p>
  
  <p><code>[(3, 2), (3, 4), (1, 2), (1, 3)]</code></p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Apologies, I thut I have given all info needed!!!! </p>
  
  <p>Kindly consider, following as my List:</p>
  
  <p><code>[('1', '3:00 PM'), ('1', '3:00AM'), ('2', '1:00 AM'), ('2', '2:00 AM')]</code></p>
  
  <p><code>srt_lst = sorted(lst, key=lambda val: (val[0], val[1]), reverse = True)</code></p>
  
  <p>Gives:
  <code>[(2, '2:00 PM'), (2, '2:00 AM'), (2, '1:00 AM'), (1, '3:00 PM'), (1, '3:00 AM')]</code></p>
  
  <p>Required is:</p>
  
  <p><code>[(2, '2:00 AM'), (2, '2:00 PM'), (1, '3:00 AM'), (1, '3:00 PM')]</code></p>