Collect.js sortDesc() Method
The sortDesc() method is used to sort the collection in the opposite order as the sort method. Syntax: collect.sortDesc() Parameters: The collect() method takes one argument that is converted into the collection and then sortDesc() method is applied on it. Return Value: This method returns the colle