i would like to solve this problem: the user gives an input of words, separated by ', '. i don't know how many words he would give. the output should be: all words are sorted by a Lexicographic order. i also need to have an access to this output for later.
example: user input: banana, apple, soap, door (as one string, could have any number of words) output: apple banana door soap thanks a lot for helping.