removed Sorted interface; added Term#sort and Term#isExactSort instead