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

KeySelectors not restricted to Pojos and Tuples