I\'m loading data into a python dict, pulled from coinmarketcap\'s api and then I want to be able to sort it by the rank. I\'ve had a look online and although I\'ve seen some ex
You can't order a dict, but you can create a list of the items and have that sorted:
dict
items
sorted(data.iteritems(), key=lambda x:x[1][u'rank'])