is_sorted Tests if a range is sorted Returns the appropriate bool Useful if something can be done faster with a sorted range