This section summarizes the process of creating and changing sort order files. For more detailed information, read the remainder of the chapter.
To create or change a sort order file
Copy one of the shipped *.srt files and rename it, keeping the .srt suffix.
Do not modify the *.srt files
shipped with the product. Instead, make copy of the original *.srt file and then modify its
copy.
Edit the newly created file, changing or adding entries as follows:
Specify general entries for the [sortorder] section, including “class,” “id,” “menuname,” “charset,” “preference,” and “description.”
List ligatures, using the entry form “lig = value.” Group ligature entries before character entries.
List all the character set’s characters and glyphs in the desired primary sort order, using the entry form “char = value.”
For the secondary sort order, add values horizontally to the primary sort order entries, using the entry form “char = value1, value2, ...”
For sorting that is not case sensitive, put equal signs between uppercase and lowercase counterparts.
Save the new .srt file in the charsets directory under the charset_name subdirectory.
Edit locales file entries, as appropriate, to refer to the new collating sequence file.