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

Fixes HPCC-10893

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

HPCC-10893 Unable to sort Logical Files for a published Query

Reviewed-By: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>