//#region src/collection/orderBy.d.ts /** * This method is like sortBy except that it allows specifying the sort orders of the iteratees to sort by * @param collection - The collection to iterate over * @param iteratees - The iteratees to sort by * @param orders - The sort orders of iteratees ('asc' or 'desc') * @returns Returns the new sorted array * @example * const users = [ * { name: 'John', age: 30 }, * { name: 'Jane', age: 25 } * ]; * orderBy(users, ['age'], ['desc']); * // => [{name: 'John', age: 30}, {name: 'Jane', age: 25}] */ declare function orderBy(collection: T[], iteratees: ((item: T) => unknown) | string | Array<((item: T) => unknown) | string>, orders?: ('asc' | 'desc')[]): T[]; //#endregion export { orderBy }; //# sourceMappingURL=orderBy.d.mts.map