Hey I have a ladder ranking with this data:
Ignore the wins, loses, lvl.
The problem is, on the team table I have a column for the ranking, the ranking I'm using on the table on the image is just a i variable that starts in 0 and increments 1 when finishes the while cyclo. How do I update the ranking column with the real ranking ordered by Points?