error:SQLSTATE[42601]: Syntax error: 7 ERROR: syntax error at or near "ORDER" LINE 8: ORDER BY ^