Now a user can specify any custom SQL query, not just a list of columns for sorting.