Is it possible to do the sorting of groups and get the top N groups (with the highest/lowest summary), programmatically? The top N number will be a parameter, and so is the order (ascending/descending). I've been trying but have not been successful.
Thanks!