I just don't quite understand what i did.. All i changed is this public static void sortuj(String[] tablica) { Arrays.sort(tablica); isWiekszeOd(tablica[0], tablica[1]); I saw in help section people are doing it differently going though all words in tab and comparing it to each other but there is no requirement of doing this so i just want to know if this task is a bit weird or it should be like that? Cause i don't want to miss a single thing how this code works