orderBy
Modified on Thu, 27 Apr 2023
This function works like`sortBy()` function except that it allows specifying the sort orders of the iterates to sort by. If `orders` is unspecified, all values are sorted in ascending order.
Syntax
orderBy (collection, iteratees, orders)
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article