in reply to Re^4: beginner - ordering tuples
in thread beginner - ordering tuples

Right, I missed that the second position should be descending.

You forgot a dereferencing: $b->[1] <=> $a->[1]

Cheers Rolf