import collections


def make_ordered_dict(d):
    """
    Turn a {k:v} dictionary into an ordered dictionary ordered from largest
    v to smallest
    """
    k = list(d.keys())
    k.sort(key=lambda x: d[x])
    k.reverse()
    nd = collections.OrderedDict()
    for i in k:
        nd[i] = d[i]
    return nd