Filter main items by subitem columns

I would like to be able to use a filter at the top of a column on subitems to organize main items.