Update sortingMethods.java