C Stl Priority Queue Not Sorting Correctly Stack Overflow

C Stl Priority Queue Not Sorting Correctly Stack Overflow