fix the bug for multilingual OBO ontologies

changes the method used to sort the trait names in the hierarchy