• Performs a subsequent ordering of the elements in a sequence in ascending order according to a key using a specified comparer.

    Type Parameters

    • TKey

      The type of the elements of source.

    • TSource

      The type of the key returned by keySelector.

    Parameters

    • keySelector: ((item) => TKey)

      A function to extract a key from an element.

        • (item): TKey
        • Parameters

          • item: TSource

          Returns TKey

    • Optional comparer: ((fst, snd) => number) = defaultSorter

      A comparer to compare keys.

        • (fst, snd): number
        • Parameters

          • fst: TKey
          • snd: TKey

          Returns number

    Returns UnaryFunction<Iterable<TSource>, OrderedIterableX<TKey, TSource>>

    An ordered iterable whose elements are sorted according to a key and comparer.

Generated using TypeDoc