CINT not sorting vectors

I’ve seen and I see that the sort method fails when sorting a vector. I would like to sort some vectors of ints, so how can I do it? Implement my own Quicksort ( into a function? I’d like to stick with the standard vector over a root class if possible. Thanks.

see TMath::Sort

// Sorting template <typename Element, typename Index> void Sort(Index n, const Element* a, Index* index, Bool_t down=kTRUE);