diff -r 98b57e2f731a -r 9e789fa8f38e eric6/Project/ProjectFile.py --- a/eric6/Project/ProjectFile.py Sat Feb 20 14:41:47 2021 +0100 +++ b/eric6/Project/ProjectFile.py Sat Feb 20 14:53:33 2021 +0100 @@ -89,7 +89,7 @@ pass try: - jsonString = json.dumps(projectDict, indent=2) + jsonString = json.dumps(projectDict, indent=2, sort_keys=True) with open(filename, "w", newline="") as f: f.write(jsonString) except (TypeError, EnvironmentError) as err: