Giving compilation error in using inbuilt sorting
as far as the first error was concerned
the correction is this
but
it seems that the sort stl does not have overloaded function for sorting datatype
vector<pair<pair<int,int>>, int >
because even with simple call to sort u get an error

then how to apply sorting
make a custom class and then u can send the class object as parameter then write the custom sort function
maybe that will help
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
