Figure I'd ask before I spin my wheels on this. Normally I'd think to order all of the rows by the global, parent, component to build out some BOM path strings, but LN doesn't have a global - everything is just parent and component.
My first thought is I could fake a recursion by joining to a bunch of copies of the same table and building it out that way, but was hoping there is something more elegant 😄