SortedRange.groupBy

auto groupBy()()

Returns a range of subranges of elements that are equivalent according to the sorting relation.