I found a very useful command to sort alphabetically words in a text file in Linux with zero effort. The command works with all languages but for the purpose of the video I used words in English only. I made a short video as a demo and as you will see it takes just a few seconds. I made a bash script of the command for convenience but you can use it manually out of any scripts if you want. The command itself can be seen at the end of the video.The distro I'm using is Arch Linux, so I do not know whether it will work out-of-the-box in other distros or you'll have to install additional packages.
.
.
.
.