Collation is a general term for the process and function of determining the sorting order of strings of characters (or in other term, how a strings comparison is performed)
Collation implementations must deal with the complex linguistic conventions for ordering text in specific languages, and provide for common customizations based on user preferences.
Collation can be based on:
A collation will compare strings according to: