title: Tuple pairs, finding minimum using python
body: <p>I want to find the minimum of a list of tuples sorting by a given column.  I have some data arranged as a list of 2-tuples for example.</p>
  
  <pre><code>data = [ (1, 7.57), (2, 2.1), (3, 1.2), (4, 2.1), (5, 0.01), 
           (6, 0.5), (7, 0.2), (8, 0.6)]
  </code></pre>
  
  <p>How may I find the min of the dataset by the comparison of the second number in the tuples only?</p>
  
  <p>i.e. </p>
  
  <pre><code>data[0][1] = 7.57
  data[1][1] = 2.1
  </code></pre>
  
  <p>min( data ) = <code>(5, 0.01)</code></p>
  
  <p><code>min( data )</code> returns <code>(1, 7.57)</code>, which I accept is correct for the minimum of index 0, but I want minimum of index 1.</p>