- Felix Kock
- PowerBuilder
- Tuesday, 19 March 2024 10:06 AM UTC
Hello Appeon Team,
we've got a feature request regarding the sort-algorithm and the sort arguments.
We need it to be possible to set a natural sort in the setSort()-Function, instead of the alphanumerical ascending/descending in string type columns.
I.e.: The current sort argument "column a" sorts by alphanumerical values in order of the symbols found.
The strings "A", "B", "1", "2", "10", "20" would get sorted as: 1, 10, 2, 20, A, B
We need an option, which could be something like "column an" (n denoting the natural sort), in which multiple numerical digits are treated and sorted as one number.
This option would sort the above set as: 1, 2, 10, 20, A, B
Reference: https://en.wikipedia.org/wiki/Natural_sort_order
Greetings,
Felix
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.