How to make a Perspective Table Order By Number Value

I Want my users to be able to order a perspective table based on a column. But when i use the "sortable" Property of the column it order in alphabetical order and not by value order.
image

In this exemple, the Number 142 should be before the number 1308.


How can I Make the Table order by Value ?

It seems likely that the data you have is a String not an Integer. You'll need to cast it to an integer in order for it to sort like you want.

1 Like