map {'ch'.(0+$_)} sort map {sprintf "%.10u", /(\d+)/} @array;
just for the sake of using a technique of Advanced Sorting - GRT - Guttman Rosler Transform, i.e. make a map sort map but with a bare/string sort.
Of course, a pack 'N' would be preferable over the sprintf.
In reply to Re: sorting an array
by pKai
in thread sorting an array
by Selvakumar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |