Fix the order of samples in a heap profiling file (https://ghc.haskell.org/trac/ghc/ticket/11645)