from typing import OrderedDict


def dict_sort(in_dict: dict)-> OrderedDict:
    """
    sort dict by values, 给字典排序(依据值大小)
    Args:
        in_dict: dict, eg. {"游戏:132, "旅游":32}
    Returns:
        OrderedDict
    """
    in_dict_sort = sorted(in_dict.items(), key=lambda x:x[1], reverse=True)
    return OrderedDict(in_dict_sort)