is an option for AlphabeticSort and related functions that specifies how upper versus lower case should be sorted.


  • Possible settings include:
  • "LowerFirst"sort lowercase letters before uppercase letters
    "UpperFirst"sort uppercase letters before lowercase letters
    Automaticsort according to conventions in the language specified


open allclose all

Basic Examples  (1)

With CaseOrdering"LowerFirst", the lowercase form of a character is sorted before its uppercase form:

With CaseOrdering"UpperFirst", the uppercase form is sorted before the lowercase form:

Scope  (1)

CaseOrderingAutomatic uses the ordering convention specific to a given language:

Possible Issues  (1)

IgnoreCaseTrue overrides any CaseOrdering value:

Introduced in 2015