select * from category where id in () order by id_parent asc