Sort numbers to make user rank?

Hi !
I work with a table with two columns: user and score.

I would like to make a new table with users ranking, according to user’score (best score is on top of the screen…)
I use getspread to do the new tab !
but unfortunately and weirdly, results are not good when I put the tab into text object…
Here’s the patch that explain my issue:
thanks in advance !!
g.

essai sort.v4p (11.0 kB)

Long story, but you want to set your slices, not get them.

essai sort_0-2.v4p (10.8 kB)

cool !
thanks westbam (and congratulation for great tuto !!)
still don’t really get differences between set and get spreads… anyway it does work
merci !

… trying to type you an easy explanation…
… no idea how to put it in words …

I patched another solution for you, using a getslice and a sort, does the same, perhaps you understand that one. I think this one makes more sense.

Only tip I could give you for the future, when things don’t go the way you plan it (in patching land ;), make some Ioboxes, with proper columns and rows, and look at your values after every node you use. And keep low spreadcounts so you can see and figure out what happens.

essai sort_03.v4p (16.4 kB)