Lodash.orderBy

This method is like _.sortBy except that it allows specifying the sort orders of the iteratees to sort by. If orders is unspecified, all values are sorted in ascending order. Otherwise, specify an order of "desc" for descending or "asc" for ascending sort order of corresponding values.

struct Lodash
nothrow @trusted @safe ref
orderBy
(
T
U
)
(
auto ref T iteratees
,
auto ref U orders
)

Return Value

Type: auto ref

- Lodash chained on (Array): the new sorted array.

Meta