Portra line has lower contrast thus a bit more dynamic range than Ektar. Portra 400 may have a bit more than Portra 160. However, even Ektar has very much for all practical purposes, don't listen to internet legends that "you must nail down the exposure with Ektar like slide films", that is 100% bullshit.

So, it would go Portra 400 > Portra 160 > Ektar for the Kodak line, I suppose. But in any case, I would select the product on other criteria because all of them provide enough dynamic range to suit practically all purposes.