title: Finding tuple in the list of tuples (sorting by multiple keys)
body: <p>I am trying to find tuple in the list of tuple, but not getting how to do that</p>
  
  <p>I have the following <code>list (id, price, count)</code></p>
  
  <pre><code>[('1', 3.0, 6), ('2', 2.0, 2), ('3', 2.0, 5), ('4', 4.0, 2), ('5', 2.0, 5), ('
  6', 3.0, 6), ('7', 3.0, 5), ('8', 2.0, 5), ('9', 3.0, 5), ('10', 3.0, 5)]
  </code></pre>
  
  <p>condition for finding tuple is:</p>
  
  <ol>
  <li>tuple should have minimum <code>price</code>.  </li>
  <li>tuple should have maximum count <code>value</code>.  </li>
  <li>priority of first condition is higher then second condition.</li>
  </ol>
  
  <p>Please tell me how to achieve these conditions to find tuple in the list.</p>