Update sort.java