def sorted_dict(dict1):
  
  sorted_dict = {x: sorted(y) for x, y in dict1.items()}
  return sorted_dict
def heap_queue_largest(nums,n):
  import heapq as hq
  
  largest_nums = hq.nlargest(n, nums)
  return largest_nums