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.
This topic has not yet been rated - Rate this topic

List<T>.Sort Method

Sorts the elements in the List<T> or a portion of it.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort() Sorts the elements in the entire List<T> using the default comparer.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Comparison<T>) Sorts the elements in the entire List<T> using the specified System.Comparison<T>.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(IComparer<T>) Sorts the elements in the entire List<T> using the specified comparer.
Public method Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Int32, Int32, IComparer<T>) Sorts the elements in a range of elements in List<T> using the specified comparer.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.