Unlike in English, the word order is not so important in Japanese. For instance, there is no problem with the following orders.
いつも祖母は晩ご飯でお湯を飲みます。
祖母はいつも晩ご飯でお湯を飲みます。
祖母は晩ご飯でお湯をいつも飲みます。
晩ご飯で祖母はいつもお湯を飲みます。
祖母はいつもお湯を晩ご飯で飲みます。
いつも晩ご飯で祖母はお湯を飲みます。
晩ご飯でいつも祖母はお湯を飲みます。
etc.
The key is the combination of "noun + particle", since particles indicate the function of the preceding noun. Thus, you can't separate "晩ご飯 and で" or "お湯 and を".