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