in reply to Re: Sorting a textfile by a date field
in thread Sorting a textfile by a date field

Or use Data::Sorting to gloss over the details of the transform:
use Date::Manip; use Data::Sorting qw( sort_array ); my @array = <DATA>; sort_array( @array, sub { ParseDate( (shift) =~ /\t([^\t])$/ ) } );