December 21, 2019
https://issues.dlang.org/show_bug.cgi?id=13923

berni44 <bugzilla@d-ecke.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@d-ecke.de
         Resolution|---                         |INVALID

--- Comment #1 from berni44 <bugzilla@d-ecke.de> ---
Answer to your questiones: You have no guarantees.

"In particular, in a foreach loop the order in which the elements are iterated is typically unspecified."

from https://dlang.org/spec/hash-map.html

--