Enumerable.OrderBy Method

 

Sorts the elements of a sequence in ascending order.

Namespace:   System.Linq
Assembly:  System.Core (in System.Core.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticOrderBy(Of TSource, TKey)(IEnumerable(Of TSource), Func(Of TSource, TKey))

Sorts the elements of a sequence in ascending order according to a key.

System_CAPS_pubmethodSystem_CAPS_staticOrderBy(Of TSource, TKey)(IEnumerable(Of TSource), Func(Of TSource, TKey), IComparer(Of TKey))

Sorts the elements of a sequence in ascending order by using a specified comparer.

Return to top
Show: