HPCC-11358 Sort WUs by Total Thor Time for both 5.0 WUs and 4.x WUs

The Total Thor Time of 5.0 WUs is stored under Statistics/Statistic
[@desc='Total thor time']/@value. For 4.x WUs, it is under Timings/
Timing[@name='Total thor time']/@duration. To sort the WUs, the
sorting function now reads the value in one of those two locations.

Signed-off-by: Kevin Wang kevin.wang@lexisnexis.com