Comparator patch and quikSort