CaseOrdering

CaseOrdering

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

Details

  • 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

Examples

open allclose all

Basic Examples  (1)

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

In[1]:=
Click for copyable input
Out[1]=

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

In[2]:=
Click for copyable input
Out[2]=

Scope  (1)

Possible Issues  (1)

See Also

AlphabeticSort  AlphabeticOrder  IgnoreCase  ToUpperCase

Introduced in 2015
(10.3)