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 Automatic sort according to conventions in the language specified
Examples
open allclose allBasic 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:
Text
Wolfram Research (2015), CaseOrdering, Wolfram Language function, https://reference.wolfram.com/language/ref/CaseOrdering.html.
CMS
Wolfram Language. 2015. "CaseOrdering." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CaseOrdering.html.
APA
Wolfram Language. (2015). CaseOrdering. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CaseOrdering.html