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

SELECT count(distinct p.products_id) AS total from scot_petfrost__products p INNER JOIN scot_petfrost__products_to_categories ptc ON (p.products_id = ptc.products_id AND ptc.categories_id IN ( 30 ) ) INNER JOIN scot_petfrost__products_description pd ON (p.products_id = pd.products_id AND pd.language_id = '2' ) WHERE p.products_status = '1' ORDER BY ASC