Adverb (ba'zi) *after* the noun

I’ve come across the following sentence:

.سوالا بعضیاش بازه بعضیاش بسته ست

I find that construction a bit strange. Essentially, the adverb (ba’zi) comes after the noun. Is this explained somewhere? Can I switch the order in every case? Does this only work for ba’zi, or also for other adverbs?

For example, take the following:

بعضی داروها از درد خطرناکترند.

Is this entirely equivalent to the following?

داروها بعضیاش از درد خطرناکترند.

And when would I use one or the other? Is one more formal than the other?