fix doctest dependency on dict order