4.24.3 Language-specific comparison
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
      • Built-in Predicates
        • Character properties
          • Language-specific comparison
            • collation_key/2
            • locale_sort/2
    • Packages
Availability::- use_module(library(sort)).(can be autoloaded)
Sourcelocale_sort(+List, -Sorted)
Sort a list of atoms using the current locale. List is a list of atoms or string objects (see section 5.2). Sorted is unified with a list containing all atoms of List, sorted to the rules of the current locale. See also collation_key/2 and setlocale/3.