Change orders of form fields while downloading all leads

Hello everybody!

I’m using macros for treating leads downloaded from all my landing pages however the order of fields while converted into .xlx changed depending on of which pages received a lead or not.

i.e:
page A, B & C have some fields that page D dind’t

  • When A,B & C convert alone the order is:
    date_submitted / time_submitted / ip_address / variant / page_uuid / utm_content / page_url

  • When A, B, C & D convert the order is:
    date_submitted / time_submitted / ip_address / variant / page_uuid / utm_content / fonction / page_url

Noting that field “fonction” is not the first one of my form, I would like that it is appear after page_url because I’m sorting pages thanks to this column.

Thanks a lot!
Valentin