From 7f5b61cb76205d1e4f3977614167bbc1f3cb5061 Mon Sep 17 00:00:00 2001
From: David Hendriks <davidhendriks93@gmail.com>
Date: Wed, 30 Jun 2021 01:19:57 +0100
Subject: [PATCH] Fixed that the combined dict is also an ordered dict

---
 binarycpython/utils/grid.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py
index 4c9c1232e..6ac161624 100644
--- a/binarycpython/utils/grid.py
+++ b/binarycpython/utils/grid.py
@@ -1009,7 +1009,7 @@ class Population:
 
         # Handle the results by merging all the dictionaries. How that merging happens exactly is
         # described in the merge_dicts description.
-        combined_output_dict = {}
+        combined_output_dict = OrderedDict()
 
         sentinel = object()
         for output_dict in iter(result_queue.get, sentinel):
-- 
GitLab