sort dictionary by number of duplicate values in python : This is my dictionary
d={'january': 500, 'feb':600, 'march':300,'april':500,'may':500,'june':600,'july':200}

I am expecting output like this
d={'january': 500,'april':500,'may':500,'feb':600,'june':600,'march':300,'july':200}

When i run this program I am getting different output than expected.

    d={'january': 500, 'feb':600, 'march':300,'april':500,'may':500,'june':600,'july':200}
sortlist=sorted(d, key=d.get)
print(sortlist)