import { IAsyncEnumerable , IComparer , IOrderedAsyncEnumerable } from "../../types" ; import { OrderedAsyncEnumerable } from "../OrderedAsyncEnumerable" ; param source param keySelector param comparer returns export const orderByAsync = < TSource , TKey > ( source , keySelector , comparer ? ) : IOrderedAsyncEnumerable < TSource > => { return OrderedAsyncEnumerable . generateAsync ( source , keySelector , true , comparer ) ; } ;