Search code snippets, questions, articles...
Given an input of alphabetical string separated by hyphen. For example, greeN-whIte-orAnge-bluE-BeaD Sort the words alphabetically in an ascending order. For example input this would mean, BeaD-bluE-g
input alphabetical order is edcb
it should show according to numerical order in alphabetical
like it should be bcde