Here's a link to another post showing the method I use (that thread has a few more elegant options to suit their needs as well):
My procedure is as follows:
- From Script Console:
- Get tag configs (see code from thread above)
- Sort tag configs (see code from thread above)
- Copy output of both configs (see code from thread above) to Notepad++, with each config in a different file/tab.
- For each file, within Notepad++:
- Using JSTool Add-on: JSFormat (Pretty-print JSON - even if it's not valid JSON)
- Change Language back to None (from Language menu - basically, ignore all of the errors that the JSON interpreter throws)
- Then, using Compare Add-on:
- While File 1 is active, select "Set as First to Compare".
- While File 2 is active, select "Compare".
A sample output is also in that thread, except, the comparison was not from a system.tag.getConfiguration()
output.
That deepSort() function could probably be enhanced to utilize an OrderedDict, but has suited my needs so far.