Pro 3.1.3
When symbolizing by an Arcade Expression, the values are always text, even when explicitly told to return a number.
In this example, I have a Short Integer field called "Hmm".
If I symbolize by it directly, the symbol classes are sorted numerically

However, if I go into the Arcade Editor and input
Number($feature.Hmm)
It will sort the output as if it is Text.


I've noticed that it applies the color scheme in the correct order (e.g. 10 is always red), but the classes are sorted incorrectly.
Please change this behaviour.