I think the variable is a string, but it’s more work than only converting it to an integer. I think you have to split it to
integer4=1 or 3 or 22
In my opinion you have to sort it one by one with an algorithm, first you have to look for integer1, for example 191<192>193, after that you have to look for integer2, then integer3 and at least integer4. At last step you can sort it by first integer1, than integer2 and so on and do the output like this
I think an other easier way could be if you have always 3 digits at a block, like this:
so it’s sorted automatically at the right way.