in reply to UnPerl-like Code
I suppose that you point is that you feel it is too verbose. But sorting in place would be difficult for a list because it is by definition read-only. Also you may want to return a sorted list of the elements of an array without changing the array itself.
|
|---|