Hmm, you did not say on what you want to sort your data (date? name of the first field? other?) and also did not say whether your data is in a Perl array, in a file, etc.
So the answer to your question could just be:
my @sorted_records = sort @unsorted_record;This will sort "ASCIIbetically" the array in ascending order. If you need something else, why don't you explain it?
In reply to Re: sort timestamps with associated names.
by Laurent_R
in thread sort timestamps with associated names.
by Sparky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |