Describe and implement a specific sorting algorithm without using standard libraries.
Implement the algorithm and return the sorted result for the given input list of integers. Do not use sorted(), .sort(), or any external sorting utilities.
sort_numbers(nums)
nums: a list of integersdef sort_numbers(nums):