I cant find any sorting function in the java API for vectors. Collections.sort is only for List and not for Vector.<
Collections.sort
List
Vector
Collections.sort(vector_name)
It'll sort the vector in place, so you don't need to assign the result of the above command back to the vector.
This works because Vectors are implementations of Lists.