Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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.

Related topics

About National Language Support
Handling Sorting in Your Applications



Community Additions

© 2015 Microsoft