in reply to copying records from one file to another with filter.
Two suggestions:
- Convert the dates into a numeric string of the form YYMMDD, and reverse sort.
- Look at CPAN and find a Date or Time class that will store your information in a form you can also manipulate in reverse sort.