:: Ord a => [a] -> [a] -is:exact -package:Cabal -package:hledger-lib package:heaps -is:exact is:exact

O(n log n). Perform a heap sort