in reply to Sorting an array by dates in a field...

You first need to get your data into an array of array refs. Assuming your date in the first elemeent:
while <FH> { my @$record = split $delimiter, $_; push(@unsorted, $record); } @sorted = sort { $b->[0] cmp $a->[0] } @unsorted;
Note the order of $a, $b since you wanted oldest first, i.e., descending sort.