Added Ontology term sorting in frontend