Update orderedsarray.java