numbers = [4, 2, 12, 8] sorted_numbers = sorted(numbers) print(sorted_numbers) # Output: [2, 4, 8, 12]