There is some incentive to discriminate - it is advantageous to everyone to jettison the cheapest cargo in order to save the more valuable cargo, no matter to whom which cargo belongs.
At the scale of these ships, though, if you have to jettison cargo you're probably looking at hundreds of containers or more. At that point it probably doesn't make that much difference which containers you jettison, it'll mostly average out.