Cyask! info: MySQL Query Error

Time: 2022-12-4 12:45pm
Script:

SQL: select * from hzty.gb_testtkfl where status = 1 and pid= order by sort asc
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by sort asc' at line 1
Errno.: 1064