Lambda function in sorting function
<p>There is this code:</p>

<pre><code>lista = [3,4,5,2,1,6,8,3]
print lista # [3, 4, 5, 2, 1, 6, 8, 3]
lista.sort(cmp=lambda x,y: cmp(y,x)) # sort descending
print lista # [8, 6, 5, 4, 3, 3, 2, 1] -- it is sorted

lista = [3,4,5,2,1,6,8,3]
print lista # [3, 4, 5, 2, 1, 6, 8, 3]
lista.sort(cmp=lambda x,y: y &gt; x) # sort descending
print lista # [3, 4, 5, 2, 1, 6, 8, 3] -- nothing happens
</code></pre>

<p>Why does the lambda function in the second block not sort the numbers?</p>
