Grouping of links