For NLS, sorting (also known as "collation") is the arrangement of strings. There are two types of sorting:

  • Linguistic sorting. Arranges strings with similar linguistic characteristics into groups (by sorts).
  • Ordinal (non-linguistic) sorting. Arranges the strings in an ordered sequence.

Sorting uses the NLS string comparison functions, such as CompareString and LCMapString, or "wrapper" API functions, such as lstrcmp, that internally call the NLS string comparison functions.

For details about implementing sorting in your applications, see Handling Sorting in Your Applications.

About National Language Support

Handling Sorting in Your Applications