Sorting a RG with numbers

Hello,

I am using bubble as a beginner and I am very excited about its possibilities. However there is one thing I don’t understand. I made two fields: ‘filenames’ and ‘file numbers’. I want to display the input results in a repeating group, sorted by file number. I get a strange result (for example 1, 11, 12, 13 et cetera, 2, 21, 22, 23 et cetera, 3 4, 5). How is that possible? The ‘file number’ field is an integer. I can manage to sort the ‘filenames’ alphabetically but it does not seem te work with numbers. What am I doing wrong?

Thanks for helping me out.

Wim Rademakers

That sure looks like alpha shorting instead of numeric… Are you sure the data type and element are set to number? Perhaps a screenshot of your setup and the community can provide a quick fix.

Thanks for responding. I think you are right. The data type (or the element) is set to text. How can I change that?