Update sorting.java