sort function syntax in c++ code example
Example: sort c++
sort(arr, arr+length); //increase
sort(arr, arr+length, greater<int>()); //decrease
sort(arr, arr+length); //increase
sort(arr, arr+length, greater<int>()); //decrease