>wowhelm_
~/forever/addon-api/function/C_Intl.GetSortKey

C_Intl.GetSortKey

documented function · Intl
C_Intl.GetSortKey(text, strength) : sortKey

Transforms a string into a collation sort key.

──ARGUMENTS
text
cstring (The UTF-8 text converted into collation sort-key bytes.)
strength
CollationStrength (The comparison level used by the collator; lower strengths ignore later-level differences.)
──RETURNS
sortKey
string (The sort key bytes excluding the terminating zero byte.)
──DETAILS
May Return Nothing
true
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.