kepster has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I've got a program that needs a list of filenames sorted, filenames are e.g. firstcase_1, secondcase_3. The query is how can I sort alphabetically & then numerically to get e.g.
firstcase_1
firstcase_2
firstcase_3
secondcase_4
I'm sure it's relatively simple but I can't find an example, any help appreciated...
firstcase_1
firstcase_2
firstcase_3
secondcase_4
I'm sure it's relatively simple but I can't find an example, any help appreciated...
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: sorting numerically and alphabetically
by Corion (Patriarch) on Jun 28, 2006 at 12:34 UTC | |
Re: sorting numerically and alphabetically
by cLive ;-) (Prior) on Jun 28, 2006 at 18:26 UTC | |
Re: sorting numerically and alphabetically
by Anonymous Monk on Jun 29, 2006 at 15:16 UTC | |
by salva (Canon) on Jun 29, 2006 at 15:26 UTC |
Back to
Seekers of Perl Wisdom