• Performs a subsequent ordering of the elements in a sequence in descending 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<AsyncIterable<TSource>, OrderedAsyncIterableX<TKey, TSource>>

    An ordered async-iterable whose elements are sorted in descending order according to a key and comparer.

Generated using TypeDoc