@tylerboodman shared a nice and simple solution. It’s a good example to understand how some bubble functions work. If someone needs to write some javascript to do complex array calculations, they can use this solution.
By the way, he touched on a very important issue. If your user table is large, I suggest you use a satellite user table.
1 Like