in reply to new directory with sorted files
If you are asking (as implied by your question) "Can I write these files to a new directory?" the answer is yes and you already have a few pointers on how to do that.
If you are asking (as implied by your title) "Can I get these files to be shown in some specific order when I use dir/ls" the answer lies outside of Perl. That is a function of the operating system and the tools provided to show directory contents.
|
|---|