group by wrrk for each department tier