The collection to iterate over.
Optional
Rest
...iteratees: Many<ListIteratee<T>>[]The iteratees to sort by, specified individually or in arrays.
Returns the new sorted array.
_.sortBy
Rest
...iteratees: Many<ObjectIteratee<T>>[]Generated using TypeDoc
Creates an array of elements, sorted in ascending order by the results of running each element in a collection through 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).
Example