I’m using text values in order to use “Contains” constrain for filtering.
Well… I guest I just have to chose one: either to have Contains filtering options or Sorting option.
You could use a repeat on the server to loop through the query results and use a set value with the .toNumber() formatter on the string to convert to number