I don't think this should be returned by ref. It could potentially corrupt your `GroupBy`. Also, I don't really know what the semantics of `myGroupBy.front = previousGroup;` would be.