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>