code: def make_filter_list(filters):
      
      filter_list = []
      filter_ids = []
      for f in filters:
          filter_ids.append(f.index)
          fullname = URL_P.sub(r'`<\1>`_', f.fullname)
          filter_list.append((str(f.index + 1),
                              f.name,
                              "{0:.2f}".format(f.msun_vega),
                              "{0:.2f}".format(f.msun_ab),
                              "{0:.1f}".format(f.lambda_eff),
                              fullname))
      sortf = lambda item: int(item[0])
      filter_list.sort(key=sortf)
      return filter_list
docs: Transform filters into list of table rows.