Group by assembly