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.
Enumerable::OrderBy Method
.NET Framework (current version)
Sorts the elements of a sequence in ascending order.
Assembly: System.Core (in System.Core.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | OrderBy<TSource, TKey>(IEnumerable<TSource>^, Func<TSource, TKey>^) | Sorts the elements of a sequence in ascending order according to a key. |
![]() ![]() | OrderBy<TSource, TKey>(IEnumerable<TSource>^, Func<TSource, TKey>^, IComparer<TKey>^) | Sorts the elements of a sequence in ascending order by using a specified comparer. |
Show:

