sort vector array code example
Example 1: sort a vector c++
sort(a.begin(), a.end());
Example 2: how to sort a vector
vector<int> v;
sort(v.begin(),v.end());
sort(a.begin(), a.end());
vector<int> v;
sort(v.begin(),v.end());