ImmutableArray<T>::Sort Method (Int32, Int32, IComparer<T>^)
Sorts the specified elements in the immutable array using the specified comparer.
Assembly: System.Collections.Immutable (in System.Collections.Immutable.dll)
Parameters
- index
-
Type:
System::Int32
The index of the first element to sort.
- count
-
Type:
System::Int32
The number of elements to include in the sort.
- comparer
-
Type:
System.Collections.Generic::IComparer<T>^
The implementation to use when comparing elements, or null to use the default comparer
Return Value
Type: System.Collections.Immutable::ImmutableArray<T>A new immutable array that contains the items in this array, in sorted order.
Show: