You forgot a dereferencing: $b->[1] <=> $a->[1]
Cheers Rolf
In reply to Re^5: beginner - ordering tuples by LanX in thread beginner - ordering tuples by Anonymous Monk