Sobes.tech
Junior — Senior

Sorting std::vector<int> in ascending order

livecode

Task condition

Sort the given vector of integers in non-decreasing order using the standard algorithm std::sort from the STL library.

void sortMe(std::vector<int> data) {
    std::sort(data.begin(), data.end());
}