:: Ord a => [a] -> [a] -package:hledger-lib -package:Cabal-syntax package:ghc

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