How to list a BOM in hierarchical order (CTE Method)