sort() stort() is a method that sorts the items from a list in alphabetical order. Tutorials Check out these examples for using sort() from w3schools.