coa group by type