Make standard version of Dune deterministic
The current implementation depends on Python dictionary iteration order.