View Single Post
  (#2 (permalink)) Old
jsugrue jsugrue is offline
Moderator
 
Posts: 102
Thanks: 0
Thanked 7 Times in 7 Posts
Join Date: Jan 2008
Default 09-17-2008, 06:10 AM

It should be as simple as the following :

Vector v = new Vector();
v.add("three");
v.add("one");
v.add("two");
Collections.sort(v);
Reply With Quote