Sort an Array

Given an array of integers nums, sort the array in ascending order and return it.

Difficulty:

Console