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 'ASC' at line 1

SELECT count(distinct p.products_id) AS total from scot_modcom__products p INNER JOIN scot_modcom__products_to_categories ptc ON (p.products_id = ptc.products_id AND ptc.categories_id IN ( 424 ) ) INNER JOIN scot_modcom__products_description pd ON (p.products_id = pd.products_id AND pd.language_id = '2' ) WHERE p.products_status = '1' ORDER BY ASC

[DB ERROR]