Jump to content

Sort the letters of string in alphabetical order: Difference between revisions

m
(/* {{header|jq}} formatting)
Line 360:
 
=={{header|Raku}}==
===SimiSemi-realistic version===
<lang perl6>sub sort_within_string ( $_ is copy ) {
constant @lexographic_order = sort *.fc, map &chr, 1..255;
10,339

edits

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