Jump to content

Sort stability: Difference between revisions

m
Fix Perl 6 -> Raku links
(Rename Perl 6 -> Raku, alphabetize, minor clean-up)
m (Fix Perl 6 -> Raku links)
Line 1,035:
=={{header|Raku}}==
(formerly Perl 6)
 
The [httphttps://perlcabaldocs.raku.org/synlanguage/S32/Containers.html101-basics#sortindex-entry-stable_sort sort] built-in (available as sub and method) is stable.
 
Short demonstration for sorting only on the second item of each array:
10,333

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.