xtal-tree-deco attaches common tree functionality onto neighboring (next sibling) detail/summary elements, including the ability to expand all, collapse all, sort, and search.
<xtal-tree-deco></xtal-tree-deco>
<!-- https://www.filamentgroup.com/lab/html-includes/ -->
<iframe style="display:none" src="directory.html" onload="this.before((this.contentDocument.body||this.contentDocument).children[0]);this.remove()"></iframe>