x = {'Jackie': 176, 'Wilson': 185, 'Saersha': 165,'Roman': 185,'Abram': 169}
y = [(v, k) for k, v in x.items()] # creates a list of tuples as (value, key) pair
y.sort(reverse = True) # sorts the items in a list
# creates a dictionary with key as value from l