HPCC-11867 Clean up calls to CStringArray::sort

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
> backward compatibility

just in case old + new versions sorted differently and locked in different order, causing deadlock?