Vector vector = new Vector();
vector.addElement( "dog" );
vector.addElement( "ape" );
vector.addElement( "bat" );
System.out.println( "unsorted = " + vector );
Sorting.sort( VectorIterator.begin( vector ), VectorIterator.end( vector ), new LessString() );
System.out.println( "sorted = " + vector );