Let $x_1, \cdots, x_n \geq 0$ be real nonnegative numbers satisfying $x_1 \leq x_2 \leq \cdots \leq x_n$. For all integer $1 \leq m \leq n$, let
$$ x_1^2 + \cdots + x_m^2 \geq m^2.$$
Show that $x_1 + \cdots + x_n \geq \sqrt{1} + \sqrt{3} + \cdots \sqrt{2n-1}$.
My intuition says that the best way to solve this problem will use QM-AM-GM, but I haven't been able to find anything. I did notice that the equality case occurs when $x_1 = \sqrt{1}$, $x_2 = \sqrt{3}$, ..., $x_n = \sqrt{2n-1}$. This follows from the formula $1 + 3 + 5 + \cdots + (2n-1) = n^2$.
Also, I was thinking that it could be easier to prove the slightly stronger hypothesis $x_1 + \cdots + x_m \geq \sqrt{1} + \sqrt{3} + \cdots + \sqrt{2m-1}$ by induction, but I haven't been able to get any results with this idea either.
Can anybody give me hints to point me in the right direction for solving this problem?