in reply to Re^4: beginner - ordering tuplesin thread beginner - ordering tuples
You forgot a dereferencing: $b->[1] <=> $a->[1]
Cheers Rolf