Transforms the string into a series of characters that can be compared with CollationKey::compareTo. It is not possible to restore the original string from the chars in the sort key. The generated sort key handles only a limited number of ignorable characters.
Use CollationKey::equals or CollationKey::compare to compare the generated sort keys. If the source string is null, a null collation key will be returned.
Here is the caller graph for this function: