K. Tsang wrote:For sorting first names, did you use the Collections.sort(nameList) approach? Without giving the answer, is there another approach to sorting to the first name? If you know the answer to that, your last name sorting will be a cake.
Oh for your question, arrays will just make it more complicated.
Only just had chance to look back at this.
I did use Collections.sort(nameList) and I dont know what other approach there is. Unless you mean implement Comparator, which is what I thought about doing in my OP when I said should I create a Name class.
Any other hints would be greatly appreciated.