add sort type descriptor inheritance hierarchy parent before child