select c.categories_id, cd.categories_name, c.position, c.categories_image,c.categories_image2, c.parent_id, c.address_key, c.category_featured_status, c.categories_type, c.categories_title_color from categories c, categories_description cd where c.parent_id = '0' and c.categories_status = '1' and c.position = 'top' and c.categories_id = cd.categories_id and cd.language_id='1' order by c.sort_order, cd.categories_name