Update SortingAlgorithm.java