How can I seperate words in a sentence and I want it by using for or while statements and with using which methods, I don't know exactly. For example, our string is `"one two three four"`. I want it sorted as an output like below;

```
one
two
three
four

```