How to sort export excel fields

There are some questions need your help .

I want to import some data from database  and I use RecordListToExcel  .

Now I can download excel file ,but the fields is disorderly . like as below :


But I want the sequence is SSKUCODE , SSKUNAME ,SEND CURRENCY,APITYPE.

can you help me ?

thanks !

Solution

Hello Leon, 

If what you want is just the sequence order of the columns, what you need to do is define the output structure with the order you want, like this for instance: 

Best regards

Solution

Hi Paulo 


Thanks for your  help , now it looks like OK .