Looping a Dictionary prints the 2nd element first

Dict is not an ordered collection.

OrderedDict from OrderedCollections.jl will work though.

4 Likes