Switch values disable sort of values

Hi,

I want to disable the sort of values on switch widget.

when I save the value sort like this

{
"1": "1",
"2": "2",
"4": "4",
"8": "8",
"16": "16",
"32": "32",
"1/32": "1/32",
"1/16": "1/16",
"1/8": "1/8",
"1/4": "1/4",
"1/2": "1/2"
}

and my goal:

{
"32": "32",
"16": "16",
"8": "8",
"4": "4",
.....
}

Thanks

Hi.

{
" 4" : "4",
" 2" : "2",
" 1" : "1"
}

a space in the key should do the trick

thanks for the fix