Doctests less dependent on random dict order