:: Ord a => [a] -> [a] -package:extra -package:Cabal-syntax -package:rebase package:ghc

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