Export (0) Print
Expand All

ImmutableList<T>.Sort Method (IComparer<T>)

Sorts the elements in the entire immutable list using the specified comparer.

Namespace:  System.Collections.Immutable
Assembly:  System.Collections.Immutable (in System.Collections.Immutable.dll)

public ImmutableList<T> Sort(
	IComparer<T> comparer
)

Parameters

comparer
Type: System.Collections.Generic.IComparer<T>

The implementation to use when comparing elements, or null to use the default comparer (Default).

Return Value

Type: System.Collections.Immutable.ImmutableList<T>
The sorted list.
Show:
© 2014 Microsoft