I believe changing the order of the terms is going to have an effect on the sum at least. Suppose [tex](x_{1},x_{2},...,x_{n}) = (1, 2, ..., n)[/tex] and [tex](y_{1},y_{2},...,y_{n}) = (n, ..., 1)[/tex]. In general, [tex]\sum_{j\displaystyle{=}1}^n jx_{j}[/tex] is not equal to [tex]\sum_{j\displaystyle{=}1}^n jy_{j}[/tex].
Here's a possible approach to the question:
Let A be the set of permutations [tex](x_{1},x_{2},...,x_{n})[/tex] satisfying [tex]\sum_{j\displaystyle{=}1}^n jx_{j} \leq a[/tex] and B be the set of permutations [tex](y_{1},y_{2},...,y_{n})[/tex] satisfying [tex]\sum_{j\displaystyle{=}1}^n jy_{j} \geq \frac{n(n+1)^2}{2}-a[/tex]. Let |A| and |B| denote the number of elements in A and B respectively. Our goal is to show that |A| = |B| (refer to the second post). We will prove this statement in 2 parts.
Part 1: [tex]|A| \leq |B|[/tex]
We prove this by showing that for every permutation [tex](x_{1},x_{2},...,x_{n})[/tex] in A, we can change the order of the terms in a certain way to create a permutation [tex](y_{1},y_{2},...,y_{n})[/tex] that will be in B. This will mean that |B| cannot be smaller than |A|, and thus [tex]|A| \leq |B|[/tex] (since this mapping from set A to set B is injective or one-to-one). Now, consider a permutation [tex](x_{1},x_{2},...,x_{n})[/tex] in A. We will try to shuffle the terms around in a certain manner, and show that the new permutation [tex](y_{1},y_{2},...,y_{n})[/tex] we get is an element of B. What is one obvious guess for [tex](y_{1},y_{2},...,y_{n})[/tex]? Try then to show that [tex]\sum_{j\displaystyle{=}1}^n jy_{j} \geq \frac{n(n+1)^2}{2}-a[/tex], given the fact that [tex]\sum_{j\displaystyle{=}1}^n jx_{j} \leq a[/tex].
Part 2: [tex]|B| \leq |A|[/tex]
The idea of this part is the same as before; we show that for every permutation [tex](y_{1},y_{2},...,y_{n})[/tex] in B, we can change the order of the terms in a certain way to create a permutation [tex](x_{1},x_{2},...,x_{n})[/tex] that will be in A. The structure of the proof is similar to Part 1.
Combining our results for both parts, we get |A| = |B| and we are done.