🐛 Sort tokens by name

This commit is contained in:
Xavier Julian 2026-02-26 23:40:21 +01:00
parent a2f8fca6ea
commit a01a059339

View File

@ -188,7 +188,7 @@ Some naming conventions:
[segments separator]
(let [sorted (sort-by-children segments separator)
grouped (group-by-first-segment sorted separator)]
grouped))
(into (sorted-map) grouped)))
(defn- build-tree-node
"Builds a single tree node with lazy children."