Why the Same Comparator Behaves Differently in std::sort and std::priority_queue – A Very…

I typed this line, expecting a simple outcome: