Sort entries when doing dumpPython

In order to make it easier to compare different configurations, we now sort the named items used in the configuration.
Merge pull request #6882 from Dr15Jones/sortParametersForDumpPython

Sort entries when doing dumpPython