group words by layout instead of inverse
group words by layout instead of inverse