From e49a51937dcaef63ad57d4ade2ecd55e5dc4cc13 Mon Sep 17 00:00:00 2001 From: Alexander Wagner Date: Tue, 28 Feb 2023 15:33:11 +0100 Subject: [PATCH] analyze/datastub/printer: Sort entries within XML --- analysis/datastub/printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/datastub/printer.py b/analysis/datastub/printer.py index 94dcf997..85c74dff 100644 --- a/analysis/datastub/printer.py +++ b/analysis/datastub/printer.py @@ -210,7 +210,7 @@ def doprint_generic(self, obj, param1=False): else: node = f"{node_plain} origin='fixed' {str(evidence[0].key)}" self.startNode(node) - for key, value in entries.items(): + for key, value in sorted(entries.items()): self.doprint_line(f"{format(key, 'x')}: {value}") self.endNode(node_plain)