sort -package -containers
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.
O(n) Sort a ByteString efficiently, using counting sort.
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