The two-arg version of the std::sort algorithm sorts the vector in ascending order using operator< . To get the descending order, make a call to std::reverse ...
確定! 回上一頁