Does anyway know of a method which will do this on a vector, or a container which automatically sorts them? Otherwise i might try and use the ascii values. But just wondering what you peeps thought?
MrScruff 0 Junior Poster in Training
Recommended Answers
Jump to PostIf you use an ArraList like jwenting suggested, you can use:
Collections.sort(ArrayList);
You might could use that on a vector, but I doubt it. Never tried.
Also, isn't there some way to use the comparator interface to sort?
All 4 Replies
jwenting 1,905 duckman Team Colleague
server_crash 64 Postaholic
MrScruff 0 Junior Poster in Training
jwenting 1,905 duckman Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.