This program illustrates the use of the STL is_sorted_until() algorithm from to find the first integer that destroys the sorting order of a vector of integers into the (default) ascending order. Press Enter to continue ... For 1 2 3 4 5, the sequence is sorted (in ascending order). For 1 2 3 6 5, the sequence sort was destroyed at element 5. Press Enter to continue ...