in reply to sort timestamps with associated names.

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?

Replies are listed 'Best First'.
Re^2: sort timestamps with associated names.
by hdb (Monsignor) on Jul 26, 2013 at 08:36 UTC

    I find the title "sort timestamps with associated names" rather suggestive...