courses=['History', 'Maths', 'ML', 'Physics', 'CompSci']

sorted_courses=sorted(courses)
#sorted method doesn't change the original list

print(sorted_courses)
print(courses)


'''
output
['CompSci', 'History', 'ML', 'Maths', 'Physics']
['History', 'Maths', 'ML', 'Physics', 'CompSci']
'''
