:: Ord a => [a] -> [a] -package:Cabal package:ghc is:exact

Remove duplicates but keep elements in order. O(n * log n)