dict_to_list_sorted