So I've come up with this to allow use to choose what function to apply to the grouped values
If you leave it blank it just groups
And you can add it things like sum
And it can handle compound operations as well
This has a workaround for the issues in this thread for discussion on issues of applying functions on tails of lists