Typo alert: you have 2 sorts. The result is that you sort alphabetically after having sorted numerically.
Unfortunately, your test dataset doesn't show the problem. Try adding 100 to the data.
In reply to Re^5: sort an array with +ve & -ve numbers in it
by plobsing
in thread sort an array with +ve & -ve numbers in it
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |