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>