When to create a custom collating sequence file

On most platforms, Open Client and Open Server products include the standard collating sequence files described in Table 6-2:

Table 6-2: Commonly-supplied collating sequences

File name

Description

binary.srt

Ordering corresponds to the internal binary value for each character. binary.srt contains the entry “binary = true”.

No localization file is necessary for this sort order.

dictionary.srt

Dictionary order, case sensitive. Primary lexicographic ordering with uppercase letters before their lowercase counterparts. Secondary ordering for accented characters.

The file name varies according to language. For example, the Spanish version is called espdict.srt.

noaccents.srt

Dictionary order, accent insensitive, not case sensitive. Intermingles words that begin with an unaccented letter and words that begin with the letter’s accented counterparts.

The file name varies according to language. For example, the Spanish version is called espnoac.srt.

nocase.srt

Dictionary order, not case sensitive. Intermingles words that begin with an uppercase letter with words that begin with the lowercase counterpart.

The file name varies according to language. For example, the Spanish version is called espnocs.srt.

nocasepref.srt

Dictionary order, not case sensitive, with preference for uppercase only when there is a lowercase equivalent.

If a language you are using has further collating sequence requirements, you can create a custom collating sequence file according to the guidelines in “About collating sequence files”.