How to know the position of items in a Python's ordered dictionary ,list(x.keys()).index('c')