How do you sort a vector?
Sorting a vector
using sort function
vector< int > v;
sort(v.begin(),v.end());
look at this code
if you have more doubts regarding this feel free to ask
i hope this helps
if yes hit a like : and don’t forgot to mark doubt as resolved