Hello,
I am writting a
Java program to sort out the name list that can be read from a .txt file. I store the names into an ArrayList and i use the Collections class to sort the name list but it's only sorted by firstname descending. How can i sort the name list by firstname then lastname, say like "Abnm Ahihii" "Abjjj Bjjkk"?
Cheers