UNPKG

@zodash/sort-by

Version:

Multiple Field Sorter, support ASC + DESC

10 lines (9 loc) 294 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.sortBy = void 0; const order_by_1 = require("@zodash/order-by"); function sortBy(dataSource, factors) { return order_by_1.orderBy(dataSource, factors); } exports.sortBy = sortBy; exports.default = sortBy;