[FLINK-1112] Add KeySelector group sorting on KeySelector grouping