HPCC-10406 - Add sort by columns in queryset

Add the ability to sort by column heading. This functionality
will match the current behavior.

Signed-off by: Miguel Vazquez <miguel.vazquez@lexisnexis.com>
Merge pull request #5167 from miguelvazq/HPCC-10406

HPCC-10406 - Add sort by columns in queryset

Reviewed-By: Gordon Smith <gordon.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>