Write a program 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.
Modification and clarifications:
Allow entering up to 7 words, one by one. After each such entry is made, display the words sorted in the reversed alphabetical order.
Suggestions on possible approaches: This task could be solved in many ways involving different sorting algorithms. Alternatively, you may find a suitable control having the desirable capabilities. Some controls have configurable properties that should be properly set to activate particular features.
Also, using the existing array methods can save you much time (start at https://docs.microsoft.com/en- us/dotnet/api/system.array?view=netframework-4.8 for references).