Write a program in the window form application named SortWords that includes a method that accepts any number of words and sorts them in alphabetical order. Demonstrate that the program works correctly when the method is called with one, two, five, and ten words.
Allow entering upto 8 words, one by one. After each such entry is made, display the words sorted in the reversed alphabetical order.