adding a stable ordering to a test that occasionally produces an
alternate ordering