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 'by sort_order, name' at line 1
SELECT productID, `name_ru` AS `name`, Price, in_stock, slug, categoryID, product_code from SC_products WHERE categoryID>1 and Price>0 and enabled=1 and archived <> 1order by sort_order, name