reordering and sorting of ontology before new worksession