I didn't know how you wanted to arrange your soldiers.
If you want a grid with 10 soldiers in each row, you can do this:
System For Each Soldier (order by Soldier.attackDamage) descending
....Set posX to (loopindex%10)*70
....Set posY to int(loopindex/10)*70
....Soldier set position to (X= 50+posX, Y=50 +posY)
Or you can put invisible "placeholder" sprites to where you want to place your soldiers. And then set position to (X=placeholderSprite(loopindex).x, Y=placeholderSprite(loopindex).y)