minGroupBy should work with collections of any shape and not only CC[A].