EASIEST SOLUTION, O(1), ONE-LINE SOLUTION, TOURSIT APPROVED
\nclass Solution {\n    public int[] sortArray(int[] nums) {\n        Arrays.sort(nums);\n        return nums;\n    }\n}
\nclass Solution {\n    public int[] sortArray(int[] nums) {\n        Arrays.sort(nums);\n        return nums;\n    }\n}
[]