Dear Community,
I have a question concerning the sort option of a gallery in PowerApps.
I oriented my Sort Button on the following video https://www.youtube.com/watch?v=6KlI1iZ_KD0
Now I have the problem that when I try to sort my gallery by a column that contains numbers, the value of these numbers is only validated by the first digit. As an example is the number 19 only sorted after the 1 and is therefore listed lower than the number 4 which should obviously be the other way round. That means, that the numbers 10-19 are recognized as smaller than the numbers 2-9. (the order within these numbers is perfectly fine. For example is a 7 listed lower than a 9)
Just to make the problem clear here are a few more examples: 3<4, 5<8, 11<13, 17<19 but 2>11, 3>16, 9>11.
Is anyone facing the same problem?
A possible solution could be to just add a 0 infront of the numbers with just one digit. So turn a 3 into an 03 and a 6 into a 06. But I'm not sure how to do that either.
I'm really looking forward for any kind of advice and thank you for your help in advance!!
Best Regards and stay safe
Matteo