I am using the following code to print keys and values of a dict.
for key, val in index1.items():
            print("++++++++")
            print ( key)
            print (val)
            print("++++++++")
I want it's to be printed in the same order as it was inserted. Currently, it's not following that.
 
    