Didn't expect <text> after the column list in the ORDER BY clause.
The expression or clause after the ORDER BY clause in your SQL statement isn't valid.