12345
sort(vector.begin(), vector.end()); for(iter = vector.begin(); iter != vector.end(); ++iter) { cout << *iter << endl; }