Hi.
I have a vector with pointers to objects (vector<X*> ) that I would like to sort.
How can I do that with the sort that is in the STL algorithm package?

vector<X*> v;
sort(v.begin(),v.end(), .....)

but I'm not sure how I write the comparison function.
How do I do that?