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

