title: Search min value within a list of tuples
body: <p>I have a list which contain a tuple, within each tuple there's a list and a interger value
  E.g.</p>
  
  <pre><code>Mylist = [([1,1,3], 3),([1,1,3], 30),([2,2,3], 15),([1,3,3], 2)]
  </code></pre>
  
  <p>I want this list to return this tuple ([1,3,3], 2)
  since Mylist[i][1] = 2 that is the min in the list.
  Now, the built-in function min() doesn't really do that.. it compares it on the basis of the actual list that is Mylist[i][0]</p>
  
  <p>I can perform this only if the list contains two items:
  But i have not figured how to do it in a list of.. say 10 items!</p>
  
  <pre><code>def min(a,x,b,y):
     t = a
     if x &gt;= y:
         t = b
     return t
  </code></pre>