diff --git a/plugins/convert/writer/patch.py b/plugins/convert/writer/patch.py index 74671c6567..2242323fd0 100644 --- a/plugins/convert/writer/patch.py +++ b/plugins/convert/writer/patch.py @@ -277,5 +277,5 @@ def close(self) -> None: return fname = os.path.join(self.output_folder, "matrices.json") with open(fname, "w", encoding="utf-8") as ofile: - json.dump(self._matrices, ofile, indent=2) + json.dump(self._matrices, ofile, indent=2, sort_keys=True) logger.info("Patch matrices written to: '%s'", fname)