Browse Source
The lexicographical sort for hierarchical pages needs to satisfy the
following:
- Ensure a parent comes before all its children
- Ensure all children with the same parent are sorted by page number
- Ensure all of a parent's children come before the parent's next sibling
To do this, we need to compare at each path level before descending
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20701
(cherry picked from commit e06e60882d)
9.0
1 changed files with 36 additions and 9 deletions
Loading…
Reference in new issue