Web 2.0 Weblistbox Sorting

I’m trying to sort a column with numerical values in it and I can’t get it to sort 1,2,3,etc. It always sorts as 1,10,11,etc. I saw that there was at least one topic from last year on this without any real solution. Is there currently any way to change the way columns are sorted?

Thanks

seems it sorted a string type and not a number.

i think xojo use https://datatables.net/ for this list
https://datatables.net/manual/data/
i know that there is an attribute with a sort value (data-order)

it depends if you use the webdatasource or not.

Webdatasource seems like the solution to this issue.

Thanks for the answers

let me know if this is true :slight_smile: can’t see this from current documentation.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.