Sort An Array In Java Without Sort Method In List