Jump to content

Sort by numbers


Jackson Meira
Go to solution Solved by Alejandro,

Recommended Posts

Hello, I just renewed my license and I've always had a problem sorting by a field that is only filled with numbers. In fact, this is not a Jreviews problem because I've always had this problem in other components. I've always worked around it using datatables.

I have a #REF field for properties and the client fills it with numbers 1, 2, 3, 4, 5... The problem is that when I try to sort by this field, the order is always alphabetical. I believe that because it is a text field, I tried using a decimal field but the same problem occurs.

For example, if I sort from largest to smallest, the number 950 will always come before 1500, for example.

Is there any way to get around this?

Link to comment
×
×
  • Create New...