912. Sort an Array Given an array of integers nums, sort the array in ascending order. 1234567class Solution {public: vector<int> sortArray(vector<int>& nums) { sort(begin(nums), end(nums)); return nums; }};