sort -package +base
The sort function implements a stable sorting algorithm. It is a special case of sortBy, which allows the programmer to supply their own comparison function.
The sortBy function is the non-overloaded version of sort.
The sortWith function sorts a list of elements using the user supplied function to project something out of each element