docs: def __put_year_col_first(d):
          """
          Always write year column first. Reorder dictionary so that year is first
          :param dict d: data
          :return dict: Reordered data
          """
          if "year" in d:
              D = OrderedDict()
              # store the year column first
              D["year"] = d["year"]
              for k,v in d.items():
                  if k != "year":
                      # store the other columns
                      D[k] = v
              return D
          else:
              # year is not found, return data as-is
              return d