subsetmaker: stabilize the computation of `scratch` subset...
subsetmaker: stabilize the computation of `scratch` subset
`heads` is set, order of the element are not deterministic and we need to
stabilize that if we want to get reproducible results.
Differential Revision:
https://phab.mercurial-scm.org/D12394