Thanks to Axolotl's comment, we see this is related to Feige's Conjecture. In Feige's Paper he references a much older conjecture (Conjecture 2) due to Samuels that would answer your problem. It says
Let $X_1\ldots X_n$ be independent non-negative random variables with means $\mu_1\le\mu_2\le\ldots \le \mu_n.$ Then for every $\lambda>\sum_k\mu_k$ there is some $i$ with $1\le i\le n$ such that $P(\sum_kX_k\ge \lambda)$ is maximized when the $X_j$ are distributed as follows: 1) For $j
Fortunately, he also claims that Samuels has proven this for $n\le 4$ in these two papers. So it appears this you can get the answer for finding the best value of $i$ above, though the proof might take a bit to work through.