Wolfram Language & System 11.0 (2016)|Legacy Documentation
gives 1 if "string1" appears before "string2" in alphabetical order, -1 if it is after, and 0 if it is identical.
uses an ordering suitable for the language lang.
represents an operator form that compares strings when applied to "string1", "string2".
- The language can be specified by a language standard name, as used in LanguageData, or by a language entity. It can also be an alphabet specification, as used in Alphabet.
- The default language is $Language.
- The following options can be given:
CaseOrdering Automatic how to order upper vs. lower case IgnoreCase False whether to ignore case for ordering IgnoreDiacritics False whether to ignore diacritics for ordering IgnorePunctuation False whether to ignore punctuation for ordering Language $Language what language or alphabet to assume
- If an explicit language is specified in AlphabeticOrder[…,lang], it overrides any setting for the Language option.