code: def names_to_abbreviations(reporters):
      names = {}
      for reporter_key, data_list in reporters.items():
          for data in data_list:
              abbrevs = data['editions'].keys()
              sort_func = lambda x: str(data['editions'][x]['start']) + x
              abbrevs = sorted(abbrevs, key=sort_func)
              names[data['name']] = abbrevs
      sorted_names = OrderedDict(sorted(names.items(), key=lambda t: t[0]))
      return sorted_names