Skip to content

Commit

Permalink
(squash) Explcitly sort state before display
Browse files Browse the repository at this point in the history
  • Loading branch information
yngve-sk committed Oct 28, 2024
1 parent b857849 commit bcf4075
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def __init__(self) -> None:
def setRealization(self, ensemble: Ensemble, realization: int) -> None:
realization_state = ensemble.get_ensemble_state()[realization]
self._state_label.setText(
f"Realization state: {', '.join([s.name for s in realization_state])}"
f"Realization state: {', '.join(sorted([s.name for s in realization_state]))}"
)

html = "<table>"
Expand Down

0 comments on commit bcf4075

Please sign in to comment.