stricter checking for sorted list