I am trying to use a single command in Bash that allows me to see the contents of a text file in list format and in alphabetical order.
The text file contains surnames of several people but they are separated by spaces, and not by lines. Also, they are not ordered alphabetically.