A3QGK6JT2GWKBWS5KUNBTQD6ZXQXH634SX4TRMBAJTOV6MRCFC5AC
-- 'Total' doubles as a button that sorts the rows by teams' total score
button(Global_state, 'total', {
x=l, y=top,
w=App.width('Total')+namepx*2,
h=c,
color = {0,0,0, 0}, -- nothing
icon = function(params)
make_button_pop(params)
App.color{r=0, g=0, b=0}
love.graphics.print('Total', params.x+namepx, params.y+py)
end,
onpress1 = function()
Rows = ordered_keys(Data)
end
})