in reply to Perl Sort date and time inside csv file

I might be blind, but I can't see where you're doing the actual sort, nor can I see where the @sortedTime array is declared and populated.

If you had included use warnings;, you would probably obtain a warning about the @sortedTime array not being initialized, which might have given you a clue about missing code.

Replies are listed 'Best First'.
Re^2: Perl Sort date and time inside csv file
by ukhare (Novice) on Feb 11, 2016 at 18:49 UTC
    THANKS !! CHEERS