"be consistent" | |
PerlMonks |
sorting numerically and alphabeticallyby kepster (Initiate) |
on Jun 28, 2006 at 12:28 UTC ( [id://557993]=perlquestion: print w/replies, xml ) | Need Help?? |
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...
Back to
Seekers of Perl Wisdom
|
|