Sorting elements after survey (Sort element by numerical value of data attribute)

I have 4 global variables, every answer in the survey counts +1 …

For example:
Question 1, answer A = varX +1

On the resultpage i calculate a percentage value - works fine!

Now my question:
How can i sort and show the result-elements on the resultpage? From highest value to the smallest.

Here is my file, have a look
design-prototyping-help.rp (170.8 KB)

It’s a little hard for me to follow exactly what you want since your prototype is in another language, but I think you could put the results page into a repeater, dynamically setting the percentage for each item in the repeater dataset and then sorting based on that.