in reply to Re: Re: Re: sort mechanism
in thread sort mechanism

It should be documented in sort, but it is not. Probably because they didn't think up useful behaviour and didn't want to document intentionally useless behaviour. (Though I would have preferred to see fatally useless behaviour, or at least a warning...

Personally I think that sort in scalar context should sort the array in place. But that is just me...