fixed bug375 sorting index terms