sort_dict#

sort_dict(x: dict, reverse=True)[source]#

Sort dictionary by values.

Returns
Dict: sorted dictionary