- Write a function
sequence_of_words()
that accepts a comma separated sequence of words as input and prints the words in a comma-separated sequence after sorting them alphabetically.
sequence_of_words("without", "hello", "bag", "world")
"bag,hello,without,world"
- In case of input data being supplied to the question, it should be assumed to be a console input.