in reply to UnPerl-like Code

 @d=sort(@d); unperl-like since the var is named on both sides.

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.