Second questions today :
in a switch values I have this script :
JS{
var n = @{switch_gmAngleModulo}
if(n == 2){
return{
"180": 180,
"90": 90,
"60": 60,
"45": 45,
"36": 36,
"30": 30,
"25.71": 25.71,
"22.5": 22.5,
"20": 20
}
}
if(n == 3){
return{
"120": 120,
"60": 60,
"40": 40,
"30": 30,
"24": 24,
"20": 20,
"17.14": 17.14,
"15": 15,
"13.33": 13.33
}
}
}
And I get this result
Is it possible to keep the ascending order, I need to use this values to set an other widget
best