Make merge possibility ordering deterministic.

This ordering isn't necessarily *useful*, but it will at least always
be consistent, which is helpful for tests.