In a model where multiple codification standards are applicable (like the attached example with Uniformat imported from the IFC/RVT and a custom library added), the results are not grouped per library or codification system.
I’d expect the hierarchical structure to start with “Uniformat” and “Custom library name” as in the second screenshot. Then go into the codes.