There's also a command that allows us to sort the contents of a text file, either alphabetically or numerically.

These are the initial contents of fruit.txt:
apples
oranges
pears
kiwis
bananas

See that? The sort command put them in alphabetical order!

Didn't we use this command for something different?