We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f1fe3c + 8d5f1da commit fa50659Copy full SHA for fa50659
pymathics/graph/components.py
@@ -60,7 +60,7 @@ def eval(
60
if graph.G.is_directed()
61
else nx.connected_components
62
)
63
- components = [to_mathics_list(*c) for c in connect_fn(graph.G)]
+ components = [to_mathics_list(*sorted(c)) for c in connect_fn(graph.G)]
64
return ListExpression(*components)
65
66
0 commit comments