Royal Cyber engineering services may need to normalize numeric values before processing them. Given an array of integers, return a new array containing the same values in ascending order.
Implement the algorithm without using Python's built-in sort() or sorted() functions. The input array may contain duplicate values, negative numbers, and zero. The original array should not be modified.
Implement sort_numbers(nums), where nums is a list of integers. Return a new list containing all values from nums in nondecreasing order.
def sort_numbers(nums):