データベースエラーが発生しました。

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by sort asc' at line 14

select code ,name ,alpha ,shortname ,comment ,alias ,place ,time from HIMEMST_category where code = order by sort asc

Filename: libraries/Categorycontrol.php

Line Number: 293