Please explain about comparators that what is happening next in the sorting function after the bool function returns true or false!!
OOPS webinar II - Vectors
@a19JE0093
hello Akshat,
if our cmp true then no swap operation is perfomed .
if it returns false that means order is not correct so those values get swapped.
pls refer this-> https://www.geeksforgeeks.org/sort-c-stl/