my %sort = map{ /^(\d+)\|(\w+)/ and $1, $2 } <DATA>; print "$_ - $sort{$_} \n" for sort keys %sort;
In reply to Re: How can I sort this data on the first field
by sh1tn
in thread How can I sort this data on the first field
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |