Export (0) Print
Expand All

Array.Sort Method

Sorts the elements in one-dimensional Array objects.

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 Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<T>(T[]) Sorts the elements in an entire Array using the IComparable<T> generic interface implementation of each element of the Array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Array) Sorts the elements in an entire one-dimensional Array using the IComparable implementation of each element of the Array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<T>(T[], IComparer<T>) Sorts the elements in an Array using the specified IComparer<T> generic interface.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<T>(T[], Comparison<T>) Sorts the elements in an Array using the specified Comparison<T>.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<TKey, TValue>(TKey[], TValue[]) Sorts a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable<T> generic interface implementation of each key.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Array, IComparer) Sorts the elements in a one-dimensional Array using the specified IComparer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<T>(T[], Int32, Int32) Sorts the elements in a range of elements in an Array using the IComparable<T> generic interface implementation of each element of the Array.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<TKey, TValue>(TKey[], TValue[], IComparer<TKey>) Sorts a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer<T> generic interface.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Array, Array, IComparer) Sorts a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<T>(T[], Int32, Int32, IComparer<T>) Sorts the elements in a range of elements in an Array using the specified IComparer<T> generic interface.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<TKey, TValue>(TKey[], TValue[], Int32, Int32) Sorts a range of elements in a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the IComparable<T> generic interface implementation of each key.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Array, Int32, Int32, IComparer) Sorts the elements in a range of elements in a one-dimensional Array using the specified IComparer.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort<TKey, TValue>(TKey[], TValue[], Int32, Int32, IComparer<TKey>) Sorts a range of elements in a pair of Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer<T> generic interface.
Public method Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 Sort(Array, Array, Int32, Int32, IComparer) Sorts a range of elements in a pair of one-dimensional Array objects (one contains the keys and the other contains the corresponding items) based on the keys in the first Array using the specified IComparer.
Top

Community Additions

ADD
Show:
© 2014 Microsoft