StringSorter

Sorts strings according to the rules of the specified culture.

Constructors

this
this(StringComparer comparer)

Creates an instance using the specified StringComparer.

this
this(StringComparison comparison)

Creates an instance using the specified delegate.

Members

Functions

sort
inout(void) sort(inout(char)[][] array)

Sorts all the elements in an array.

sort
inout(void) sort(inout(char)[][] array, size_t index, size_t count)

Sorts a range of the elements in an array.

Properties

currentCulture
StringSorter currentCulture [@property getter]

Property. Retrieves an instance that performs a case-sensitive sort using the rules of the current culture.

currentCultureIgnoreCase
StringSorter currentCultureIgnoreCase [@property getter]

Property. Retrieves an instance that performs a case-insensitive sort using the rules of the current culture.

Static functions

invariantCulture
StringSorter invariantCulture()

Property. Retrieves an instance that performs a case-sensitive sort using the rules of the invariant culture.

invariantCultureIgnoreCase
StringSorter invariantCultureIgnoreCase()

Property. Retrieves an instance that performs a case-insensitive sort using the rules of the invariant culture.

Meta