Syntax
Record.ReorderFields(record as record, fieldOrder as list, optional missingField as nullable number) as record
Description
Returns a record after reordering the fields in record in the order of fields specified in list fieldOrder. Field values are maintained and fields not listed in fieldOrder are left in their original position.
Reference Data
https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference