in reply to reverse sort arrays in subroutines
It is a misunderstanding. reverse is not a parameter to sort, it is a function that reverses a list.
Therefore,
is in factsort reverse @array
i.e. it reverses the array and then sorts the result.sort(reverse(@array))
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom