Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Sorting

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
CompareString
LCMapString

 

 

Show:
© 2017 Microsoft