reformatted Sorts.java