Forum Discussion

darshthakkar's avatar
darshthakkar
Valued Contributor
4 years ago
Solved

Sort snap's functionality

Results of a sort snap (ascending) is a little bit hard to digest. I used a file reader which was reading a single column A (i.e. IDs) and I decided to sort it. The results I get are surprising. In...
  • bojanvelevski's avatar
    4 years ago

    Hey @darshthakkar,

    This happens because the field you’re sorting is string, so it is sorted alphabetically.

    As I can see, all of these values support parsing so try and parse them before sorting.

    Ex. : parseInt($ID)