sort can't do this because it's designed to be fast with O(n*log(n))
There used to be a way to change the applied algorithm, but that's deprecated now https://perldoc.perl.org/sort
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re: sort of misunderstanding of sort
by LanX
in thread sort of misunderstanding of sort
by Discipulus
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |