in reply to How can I sort this array?

I think you should probably look at Date::Manip.

You'd have to break out the dates from each filename and parse them before you do your search, so you'd definitely want to set up a Schwartzian Transform so you don't redo the parse for each comparison...
--
Mike