[CLE]extract method getComparator