in reply to How do I sort a list of numbers?
@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.
|
|---|