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 pd.products_name limit 0, 100' at line 15
select distinct p.products_image, pd.products_name,
p.products_price as final_price,
from (products p
left join specials ts using(products_id)),
p.products_status = '1'
and s.status ='1'
and p.products_id = s.products_id
and pd.products_id = p.products_id
and pd.language_id = '1' order by s.sort_order order by pd.products_name limit 0, 100