how to sort a vector object string alphabetically in c++ code example Example: sort string vector of words alphabetically c++ sort(words_vector.begin(), words_vector.end());