> Here's another way: > > L = [(1,3,5), (8,16,2), (2,56,4)] > s = L[:] > s.sort(lambda x, y: cmp(x[2], y[2])) > print s[-1] > > Jp > Yup, that is the way I would go also. Very simple & straightforward. (tho I might not have used a lambda ;-)