posted 22 years ago
I have a question about the SortNames assignment. I have it all working except for the sort by last name, as I am finding out this is the hardest part of the project.
When you say don't modify the Strings in the ArrayList, does that mean I can't make a copy of the ArrayList and modify those Strings. Basically I was thinking of taking a copy of the list, chopping off the first name, sorting it, and then comparing it back to the old array to print it in order. Is there an easier way or a class or method I am missing?
Thanks,
Bill