Java Sort Array Without Using Function In A Sentence