sub by_row { my ($first, $second) = ($a, $b); $first =~ s/\d+\s+(.*)/\1/; $second =~ s/\d+\s+(.*)/\1/; $first cmp $second; } @array = sort by_row @array;
In reply to Re: Sorting by column
by jbt
in thread Sorting by column
by Sun751
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |