Skip to main content
Module

x/lodash_es/mod.ts>sortBy

lodash for deno use
Latest
variable sortBy
import { sortBy } from "https://deno.land/x/lodash_es@v0.0.2/mod.ts";

Creates an array of elements, sorted in ascending order by the results of running each element in a collection thru each iteratee. This method performs a stable sort, that is, it preserves the original sort order of equal elements. The iteratees are invoked with one argument: (value).