Nuacht
An array of strings named "words," for example, can be sorted by calling the "Arrays.sort (words)" method, which will immediately sort the strings in the array in alphabetical order.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana