if comparator function give <= number so why -1

if comparator function give <= number so why -1