Sort the letters of string in alphabetical order: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (→{{header|Raku}}: Add an alternate, somewhat pedantic version) |
Thundergnat (talk | contribs) |
||
Line 385: | Line 385: | ||
# Other tests demonstrating the extent of the stupidity of this task. |
# Other tests demonstrating the extent of the stupidity of this task. |
||
say "\nLonger test sentence\n" ~ |
say "\nLonger test sentence\n" ~ |
||
wrap moronic-sort q[This is a moronic sort. It's only concerned with sorting letters, so |
wrap moronic-sort q[This is a moronic sort. It's only concerned with sorting letters, so everything else is pretty much ignored / pushed to the end. It also doesn't much care about letter case, so there is no upper / lower case differentiation.]; |
||
Line 396: | Line 396: | ||
Longer test sentence |
Longer test sentence |
||
»» |
»»aaaaaaabccccccccddddddeeeeeeeeeeeeeeeeeeeeeeeeeffggghhhhhhhhiiiIiiiiiIiiiillllllmmmnnnnnnnnnnnnoooooooooooooooopppprrrrrrrrrrrrrrssssssssssssssssTtttttttttttttttttttuuuuuvwwyyy , / . . ' , / . ' «« |
||
Extended test string: |
Extended test string: |