code: def get_creation_date_tags(url, domain, as_dicts=False):
      creation_date_tags = [
          mementoweb_api_tags(url),
          get_whois_tags(domain),
      ]
      creation_date_tags = sorted(
          sum(creation_date_tags, []),
          key=lambda x: x.date
      )
      if not as_dicts:
          return creation_date_tags
      return [
          item._as_dict()
          for item in creation_date_tags
      ]