UNPKG

forto-sorter

Version:

Fast and powerful array sorting. Sort by any property in any direction with easy to read syntax.

5 lines (4 loc) 263 B
import { IOrder } from './../types/order'; import { IAnySortBy } from './../types/anySortBy'; import { IComparer } from './../interfaces/comparer'; export declare const sortArray: (order: IOrder, ctx: any[], sortBy: IAnySortBy, comparer: IComparer) => any[];