Sort Text field as Integer on record Grid

Certified Associate Developer

Hello,

I have a field for mobile numbers in my Appian application, but it is in text format instead of integer. Appian does not support 10 digits as an integer, so I cannot change it. I need to sort this mobile number field on a read-only grid, but it is sorting as a string due to the text format. I need it to be sorted as an integer field.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Harsh Kumar Agarwal

    Phone numbers are often entered in a variety of formats. If even one digit in difference (length wise), the sorting via alphabetical versus via numeric will work completely differently.  I'm not quite as sure why it's so important to OP, of course, just pointing out that there *is* a tangible and easily-quantifiable difference which can actually affect the user experience in even simpler permutations of the use case.

Children