Contractions and expansions

The Unicode Collation Algorithm supports the character contractions and expansions required for correct sorting in some languages. For example, in traditional Spanish "ch" is considered a single letter that sorts after "c" and before "d", and in German, "æ" is sorted as "a" followed by "e". Correct sorting in these languages requires, respectively, contraction and expansion of the characters being sorted.