Wie man SRT -Vektor -Array ist

// for #include<bits/stdc++.h> library
// To sort in ascending order
sort(v.begin(), v.end());
// To sort in descending order
sort(v.begin(), v.end(), greater<int>());
Red Team