(C++) std::is_sorted_until std::is_sorted_until is a C++11 STL algorithm to check if a container is sorted.