The sort algorithm sorts a sequence defined by two iterators. This is enough to sort a built-in (also known as c-style) array.
C++11
int arr1[] = {36, 24, 42, 60, 59};
// sort numbers in ascending order
sort(std::begin(arr1), std::end(arr1));
// sort numbers in descending order
sort(std::b...