group by support (intended for Category facet)