'x' groups attributes by type