

Given an array of integers nums, return the array sorted in ascending order. Implement the sorting logic yourself rather than calling a built-in sort.
Given an array of integers nums, return the array sorted in ascending order. Implement the sorting logic yourself rather than calling a built-in sort.