When reverting sort order if it is a string then will split on commas
only outside of parentheses.
When splitting on any commas this causes generation of incorrect SQL if
any SQL functions are used inside sort order.
I.e for "order by max(t.field1, t.field2)" DESC would be inserted twice