in reply to Sorting help
If the filenames are exactly the same form as you show them in the example, you don't even need to bother since a simple alphabetic sort (sort @array) will do the correct thing.
Hope this helps, -gjb-