:: Ord a => [a] -> [a] -is:exact -package:pandoc -package:numeric-prelude -package:Cabal -package:Cabal-syntax -package:protolude package:sort
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.
Sort the list, discarding duplicates.