Add isSorted to ch2