code: def _flds_append(flds, addthese, dont_add):
          
          for fld in addthese:
              if fld not in flds and fld not in dont_add:
                  flds.append(fld)
docs: Retain order of fields as we add them once to the list.