Sort object attributes prior to json file comparisons.
Motivation and Context
With the changes to output generation, all previously generated json files will show differences because of the indeterminant nature of object attributes.
To avoid this, sort keys as part of the comparison of json files. Semantically the files are the same even if syntactically they are
different.
How Has This Been Tested?
Local template generations
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Refactor (non-breaking change which improves the structure or operation of the implementation)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Followup Actions
[x] None
Checklist:
[ ] My change requires a change to the documentation.
Description
Sort object attributes prior to json file comparisons.
Motivation and Context
With the changes to output generation, all previously generated json files will show differences because of the indeterminant nature of object attributes.
To avoid this, sort keys as part of the comparison of json files. Semantically the files are the same even if syntactically they are different.
How Has This Been Tested?
Local template generations
Types of changes
Followup Actions
Checklist: