To extract all unique words from a text file and sort them alphabetically in python: 1.Read and preprocess the text 2.Split and deduplicate words 3.Sort the words 4.Save or print the result