This macro allows you to sort field positions by your own list. Please input the fields order list to the C input. And set the Field Name and Sort order. If you want to handle unknown fields, you can set "*Unknown" to "FieldName" column.
This is a sample workflow.
You must input the data stream which you want to sort fields to upper anchor of this macro. And you must input the field order list to the C anchor of this macro. The sample list is as follows. “Name” column is the column name and “Order” column is sort order which you want.
If you want to position the unknown column, you can specify them as “*Unknown” record. When you don’t specify unknown columns, they will be positioned at last.