What is the output of the following code snippet?
my_list = [[25], [15, 25, 35], [10, 15]]
sorted_list = sorted(my_list, key=max)
print('Sorted list:', sorted_list)
my_list = [[25], [15, 25, 35], [10, 15]]
sorted_list = sorted(my_list, key=max)
print('Sorted list:', sorted_list)