in reply to Sorting Unique File Entries

File::Sort might possibly be what you are looking for.