Introduction
Sorting algorithms are algorithms that rearrange a collection's members in a certain order. The order criteria can vary and it is typically user-defined.
In practice, the order criteria is provided to the algorithm as a method that compares two objects and returns:
- 0: If the compared entities are considered