A simple Elixir program that sorts words in alphabetical order.
elixir WordSorter.exs input.txt
where input.txt is a file that contains words separated by space.
For input.txt
one three add money talk whatever bee rabbit yeti iglo
the program will return:
add bee iglo money one rabbit talk three whatever yeti