I'm looking for a short proof of the following statement:
Let $x_1 \ge \cdots \ge x_n \ge 0$ and let $0 \le a_1,\dots,a_n \le 1$. If $\sum_{k=1}^n a_k \le m$ for some integer $m$, then $$\sum_{k=1}^n a_k x_k \le \sum_{k=1}^m x_k.$$
My intuition for this is that the weights $a_1,\dots,a_n$ can be "redistributed" or "shifted" forward so that $a_k=0$ for $k>m$. It's not too hard to turn this into a proof by induction that implements such an algorithm. But a rigorous proof ends up being pretty long even though the statement seems simple.
Has anyone seen this before, and is there a shorter (possibly less algorithmic) approach?