Question 7. Sorting I [9]

Write a program that accepts an unlimited number of words as command line arguments, sorts them, and displays them (one per line) in their sorted order. It should not include the name of the program in the output.

For example, if the user typed the command
sorter this is my example
then the output should be:

example
is
my
this
Note: in the cstring library, strcmp(s1,s2) can be used for comparing pairs of words. It returns -1 if s1 < s2, +1 if s1 > s2, and 0 if they are the same.