in reply to Re: Date to be sorted in descending and time in ascending
in thread Date to be sorted in descending and time in ascending

or...
use Sort::Key::Maker sort_dates => sub { /(.{8})(.{6})/ }, qw(-int int +); my @sorted = sort_dates(@dateArray);