Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Return to top
Show:
© 2017 Microsoft