왜 greater 쓰면 최소힙이고 less 쓰면 최대힙으로 된거임

보통 sort같은데 비교함수 쓸 때 less가 오름차순이고 greater가 내림차순이잖아

그냥 만든사람 마음임?