A "simple search" on natural sort finds several answers to this. In particular, the section of questions frequently asked on PerlMonks contains How do I do a natural sort on an array? which has several of those answers.
- tyeIn reply to Re: Sorting Files with Numbers (natural sort)
by tye
in thread Sorting Files with Numbers
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |