Note this question is very similar to your question How can I sort my array numerically on part of the string?, and many of the solutions from there apply here as well.
In reply to Re: How can I do a numeric sort on a substring?
by haukex
in thread How can I do a numeric sort on a substring?
by misterperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |