how to make comparator for vector of vector code example
Example 1: sort vector
sort(v.begin(), v.end());
Example 2: how to sort a vector
vector<int> v;
sort(v.begin(),v.end());
sort(v.begin(), v.end());
vector<int> v;
sort(v.begin(),v.end());