order by en sonda olmalı örnek olarak
select title, count(*) AS Number
from employee
GROUP BY title
ORDER BY Number;

Aralarında and , or olmamalı