Addressing what I believe to be the "X" of this "X-Y" problem: have you looked at Sort::Naturally?
In reply to Re: Create sort function from a text file
by Anonymous Monk
in thread Create sort function from a text file
by Doozer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |