If I have the following vector:
vector< pair < pair< char,int >,pair< int,int > > >
How can I sort in descending order using <algorithm>
library according to the integer part in the first pair?
(I want to use sort(vector.begin() , vector.end() )