Is there a way to sort a portion of a single row over multiple columns, without having to specify a Sort by column?

I have individual words in several columns, and I want to sort the columns alphabetically, regardless of which column the words are in.

For example, each column from M to W has a single word. I want to sort that portion of the row so that the words are rearranged in the columns alphabetically, lowest in M, highest in W.

Thank you.