group sub/favs by type