Fix doctest for dict order, e.g. Jython