MoreLinq
C#VBC++F#
    Show/Hide TOC

      MoreEnumerablePartialSortBy Method

      Overload List

      PartialSortByTSource, TKey(IEnumerableTSource, Int32, FuncTSource, TKey) Combines OrderByTSource, TKey(IEnumerableTSource, FuncTSource, TKey, IComparerTKey), and TakeTSource(IEnumerableTSource, Int32) in a single operation.
      PartialSortByTSource, TKey(IEnumerableTSource, Int32, FuncTSource, TKey, OrderByDirection) Combines OrderByT, TKey(IEnumerableT, FuncT, TKey, OrderByDirection), and TakeTSource(IEnumerableTSource, Int32) in a single operation. An additional parameter specifies the direction of the sort
      PartialSortByTSource, TKey(IEnumerableTSource, Int32, FuncTSource, TKey, IComparerTKey) Combines OrderByTSource, TKey(IEnumerableTSource, FuncTSource, TKey, IComparerTKey), and TakeTSource(IEnumerableTSource, Int32) in a single operation. An additional parameter specifies how the keys compare to each other.
      PartialSortByTSource, TKey(IEnumerableTSource, Int32, FuncTSource, TKey, IComparerTKey, OrderByDirection) Combines OrderByT, TKey(IEnumerableT, FuncT, TKey, OrderByDirection), and TakeTSource(IEnumerableTSource, Int32) in a single operation. Additional parameters specify how the elements compare to each other and the direction of the sort.

      See Also

      Reference

      MoreEnumerable Class
      MoreLinq Namespace

      In This Article

      • Overload List
      • See Also

      © 2008 Jonathan Skeet. Portions © 2009 Atif Aziz, Chris Ammerman, Konrad Rudolph. Portions © 2010 Johannes Rudolph, Leopold Bushkin. Portions © 2015 Felipe Sateler, “sholland”. Portions © 2016 Andreas Gullberg Larsen, Leandro F. Vieira (leandromoh). Portions © 2017 Jonas Nyrup (jnyrup). Portions © Microsoft. All rights reserved.

      Send comments on this topic to MoreLinq Google Groups