ImmutableList<T>::Sort Method (Comparison<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(
	Comparison<T>^ comparison
)

Parameters

comparison
Type: System::Comparison<T>^

The delegate to use when comparing elements.

Return Value

Type: System.Collections.Immutable::ImmutableList<T>^

The sorted list.

Return to top
Show: