HPCC-9650 Sorting fails when same column is clicked several times

WUQuery cannot sort on TotalThorTime

Fixes HPCC-9650

Signed-off-by: Gordon Smith <gordon.smith@lexisnexis.com>
Merge pull request #4887 from GordonSmith/HPCC-9650_ColumnSorting

HPCC-9650 Sorting fails when same column is clicked several times

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>