Compare Function at 6:40

How is the compare function actually working? What are the 2 inputs it takes in the comparator in lower bound function?