struct MySortWay { bool operator () (const MovieInfo& a, MovieInfo& b) const { return a.value < b.value; // Just an example. It dependes on MovieInfo contents } }; Vector <MovieInfo> myvector; Sort(myvector, MySortWay);
Report message to a moderator