3a81cbd2d4
Also iterate over per thread stats in a stable order, which prepares the way for stable ordering of per thread heap profile dumps.