Quick actions

cmd+k|ctrl+k

Navigation

Languages

Sorting-Characters

Snippet info

Language

Raku

Visibility

public

Author

221a86612c7785cb6094f25b034cba9994736288

Created

2025-08-21T10:50:51.555969Z

Updated

2025-08-22T08:18:51.52131Z

use Test;

my @input = <a ä b c A Ä Ö S T>;
my @expected = <A Ä Ö S T a ä b c>;

is-deeply @input.sort(*.NFKD), @expected.List

#use String::Utils <nomark>;
#is-deeply @input.sort.sort(&nomark), @expected.List
INFO