Dictionaries in Python remember their insertion order, but equality ignores the ordering:
d1 = {'a':10, 'b':20, 'c':30} d2 = {'b':20, 'c':30, 'a':10}
d1 == d2 # True!