You can download this code by clicking the button below.
This code is now available for download.
The function accepts a list of words as an argument and returns a sorted list, with the words ordered alphabetically.
Technology Stack : Built-in function sorted
Code Type : Function
Code Difficulty :
def string_sort(words):
"""
Sorts a list of words in alphabetical order.
"""
return sorted(words)