BUG Sort column order maintained correctly when using expressions in SQLQuery and DataQuery
Merge pull request #2477 from tractorcow/pulls/3.1-sqlquery-sort-order

BUG Sort column order maintained correctly when using expressions