Generate a program in Python which takes a list of integers as an argument and prints the odd numbers in ascending order.
list = [1, 2, 3, 4, 5, 6, 7]
def print_odd_numbers(numbers):
    for num in sorted(numbers):
        if num % 2 != 0:
            print(num)

print_odd_numbers([1, 2, 3, 4, 5, 6, 7])
# Output: 1, 3, 5, 7