The VectorSort Class contains the following methods:
compare compares two elements in the vector using the Comparison object. sort sorts the specified Vector object using the specified Comparison object. swap swaps two elements in the vector.