Thread: sort arrays
View Single Post
Old 04-03-2003, 05:32 PM   #8 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
don't really have to bother with trees etc to get java to sort for you:

Code:
String[] hmm = {"abc", "def", "aaa", "bbb", "zzz"};
java.util.Arrays.sort(hmm);
//... done
...
__________________
-- bloomberg.
abc123 is offline   Reply With Quote