Make order in treeview consistent.

This commit is contained in:
James Pace 2026-08-27 11:17:46 -04:00
parent e19a1341fd
commit c8b5db719c
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ impl TreeView {
to_ret.push(node); to_ret.push(node);
} }
// Make the order of same id'd (named) entries consistent.
to_ret.sort_by(|a, b| a.id.cmp(&b.id));
return Ok(to_ret); return Ok(to_ret);
} }