Groups the items by a key derived from each item.
The element type.
The type of the grouping key.
The items to group.
A function that returns the grouping key for each item.
A map from each key to an XSequence of its matching items.
Groups the items by a key derived from each item.