Sorting by nested dictionary in Python dictionary,"a['searchResult'].sort(key=lambda d: d['ranking'], reverse=True)"