Fix ordering of fields in template json to ensure formulas are imported correctly.
- Not added a changelog as the bugfix is already in the 1.12.1 changelog notes
To test
- Sync templates
- Install the personal finance template
- The templates first table should show aggregations.