is not removing commas.
Did you even try it? It works for me. If it really doesn't work for you: What version of perl are you using, and what's the result on your perl?
If you want to sort both numbers and letters correctly, you should use Sort::Naturally (and replace sort with nsort).
In reply to Re^3: sorting difficulty
by moritz
in thread sorting difficulty
by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |