make tables rows group by project