diff --git a/src/cegpy/trees/_staged.py b/src/cegpy/trees/_staged.py index 007f76d..173547b 100644 --- a/src/cegpy/trees/_staged.py +++ b/src/cegpy/trees/_staged.py @@ -651,8 +651,8 @@ def _execute_ahc( else: break - self._sort_merged_sit_tuples(merged_situation_list) merged_situation_list = self._sort_list(merged_situation_list) + self._sort_merged_sit_tuples(merged_situation_list) for sit in self.situations: if sit not in list(chain(*merged_situation_list)): merged_situation_list.append((sit,))