@sortedlist = sort @unsortedlist That will sort your list in ASCIIbetical order. ASCII is a strange place where Caps come before lower case letters and punctuation marks-well they come in all different places. This is the default behavior of sort. You can change this order to whatever you prefer.
<STDIN>
Originally posted as a Categorized Answer.
In reply to Re: How do I sort a list of numbers?
by St{)ìÑ
in thread How do I sort a list of numbers?
by vroom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |