Switch value with decimal

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
Screenshot 2023-10-20 at 21.54.52 (2)

Is it possible to keep the ascending order, I need to use this values to set an other widget

best

Numeric labels must be prepended or appended with a white space (or any other non-numeric character) otherwise the order of the values won't be kept