HPCC-12041 Add some group sort tests

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>