Generate class tree as well
Rewrite grouping algorithm

Now use explicitly defined sequences with regex support. To ensure
preferred (Solr) packages are on the top of the overview page.