Sort a given list of strings into alphabetical order.
my_list = ["Python", "JavaScript", "Java", "C++"]
def sort_alphabetically(my_list):
    return sorted(my_list)

print(sort_alphabetically(my_list)) # ['C++', 'Java', 'JavaScript', 'Python']