I think I'm pretty experienced now in sorting by columns; however, I haven't found anything so far how to sort continuous rows.

Supposing we have a text file that looks like this: (very simplified, of course)

Echo Alpha Delta Charlie Golf Bravo Hotel Foxtrot

Now, is it possible to sort the lines alphanumerically per each block separately? I mean, so that the result looks like this:

Alpha Charlie Delta Echo Bravo Foxtrot Golf Hotel