Update StatewiseSorter.java