"Sorting" essentially refers to "sorting in ascending order", unless specified otherwise. Sorting algorithms are capable of doing multiple and extraordinary things, imagine how much time it would take for a human to sort a list of thousands of names to make a phonebook, or a list of thousands of recipes…