void prSortVector(OnixQueryVectorT Vector,
The vector you wish to sort by hit weight.
A pointer to a value of type StatusCodeT representing any error
OnixQueryVectorT holding the results of
your query. This may be NULL if there was nothing to return.
If an error occurred, Status will be set
to the error number.
prSortVector() sorts a vector by the weights
of each hit with the most significant hit first.
Be careful not to call prVectorNextRecord()
on sorted vectors. It may have unpredictable results.
Remember that you are responsible for freeing
the returned vector with prDeleteResultVector(). prSortVector()
does not modify the vector you pass but rather creates
a new one.