in reply to Perl Sort date and time inside csv file
Well, at a glance, it looks like your data is already sorted by time (descending). You do not do any sorting, so what do you expect?