HPCC-11983 Enable Sorting for Users and Groups

Fixes HPCC-11983

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>