It was an implementation detail for python 3.6 and lower, for python 3.7 it became a language feature, see this thread in the python mailing list https://mail.python.org/pipermail/python-dev/2017-December/151283.html
Make it so. "Dict keeps insertion order" is the ruling. Thanks!