First of all,
thank you v much for your help, I really appreciate it.
I think your example can be useful, I will have to study it since I am not v familiar with expressions, but it seems like it could be a solution for me.
I’ll show you what I am doing.
11423_seatslq.mp4.zip
As you can see all these elements are animated (the party logo, the candidate photo, the number of votes).
I insert the number of seats for each party as a slider value and this values populate the little men grid on the left and the round graph on the right.
I am happy with this, what I am missing is a sorting mechanism that will allow me, in the unlikely event that the red party gains more seats then the blue one, for example, to put the red party first on the order of the parties on the bottom of the page, and consequently changing the order in the little men and round graphs.
Ideally, this will allow me to deal with other graphics, like this one :

where party A and party B (the first and the second one in the vote ranking) will appear and swap positions automatically, based on the number of votes I will input in the slider control.
I don’t know If I made clearer or if I have complicated things, in any case, I really appreciate your support!
I will go and analyse your example.
Thanks!