Am 21.05.2014 15:07, schrieb Joel Bernstein:
You may want to investigate the group.func option. This would allow you to plug in your own logic to return the group by key. I don't think there is an existing function that does exactly what you need so you may have to write a custom function.
I thought of max(foo) for it but sadly it does work on multivalued fields either. I wait for other suggestions and start looking at custom functions (did not known that option exists) in parallel.
Thanks, Thomas