I want a way to be able to order input tables based on a template table. The input tables could have different fields but always a subset of the template table.
For example, my template table is like the following, which since it's a template, there is no data rows
| Name | ID | Categories | Gender | Age | Grade | Date of Birth | Location | Field 1 |
My input tables can be dynamic in terms of field names and ordering, e.g.
| Categories | ID | Location | Age |
| A | 2 | Area 1 | 20 |
| B | 3 | Area 2 | 20 |
The columns above can be different and ordered in different ways, BUT always will be a subset of the template table.
I want a tool to order it in the order of the master template
| ID | Categories | Age | Location |
| 2 | A | 20 | Area 1 |
| 3 | B | 20 | Area 2 |