C++ shortest solution
\nclass Solution {\npublic:\n    vector<int> sortArray(vector<int>& nums) {\n        sort(nums.begin(), nums.end());\n        return nums;\n    }\n};\n\n
```\nclass Solution {\npublic:\n    vector<int> sortArray(vector<int>& nums) {\n        sort(nums.begin(), nums.end());\n        return nums;\n    }\n};\n```\n
['C', 'C++']