Create A Hierarchy of Static Meshes on the HUD

Im trying to create an advanced HUD which lists all static meshes that I want in a Hierarchy form (Present under categories). Selecting it from the HUD fires an action. I have no idea how to make it so everything is categorized. Clicking the category collapses or expands etc in the HUD with scrolling, completely similar to the editor’s world outliner.