HPCC-10893 Unable to sort Logical Files for a published Query

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