JortSort
Actually, there's a better internal sort that seems to work best for lists that are already completely sorted, but tends to fails for any other list. The name of this sort, [!after]
, is completely opaque, so we're pretty much forced to hide it inside a subroutine to prevent widespread panic.
However, since Perl 6 has a really good inliner, there's really little point anyway in using the [!after]
reduction operator directly, and jort-sort-more-better-sorta
is really much more self-documenting, so please don't use the reduction operator if you can. For example:
Please do your part to uphold and/or downhold our community standards.
Last updated