Arrange the following words in alphabetical order: cat, dog, apple, bear
Apple, bear, cat, dog.
Complete the following task based on the instruction and optional input provided.### Instruction:
Arrange the following words in alphabetical order: cat, dog, apple, bear

### Output:
Apple, bear, cat, dog.