Comparator support implemented on sorters