Correct solution for isSortedPar