diff --git a/app/db.py b/app/db.py index bbcb8f2..ccf5837 100644 --- a/app/db.py +++ b/app/db.py @@ -130,7 +130,7 @@ class Node: nodes = [] for subnode in self.subnodes: nodes.extend(subnode.pull_nodes()) - return sorted(set(nodes)) + return sorted(set(nodes), key=lambda x: x.uri) def push_links(self): links = []