func_code: def swap_keys_values(dict):
      l = []
      new_dict = {v: k for k, v in list(dict.items())}
      new_dict1 = new_dict.copy()
      for k in new_dict1:
          l.append("({}, '{}')".format(int(k), new_dict1[k]))
      print('[' + ', '.join(sorted(l, key=itemgetter(-3))) + ']')