Wouldn't the second part of that sort be a no-op?my @sorted_data = sort { $a->[1] <=> $b->[1] || $a->[0] <=> $a->[0] } @unsorted_data;
thor
The only easy day was yesterday
In reply to Re^2: Sorting large sets of geometric coordinates
by thor
in thread Sorting large sets of geometric coordinates
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |