[FLINK-658] [APIs] Add group sorting to CoGroup