You can try to use custom sort or try to change column value to integer instead of string. If the table is optimized you can uncheck the optimized table option. However for further steps you can check our community
CompareWorkID sort override function is used to perform sorting of work IDs.
CompareWorkID sort override function works fine when it is optimized. Could you check in “Optimize code” - Allow Check box in the Section - Table - Layout Properties?
CompareWorkID sort override function works fine when it is optimized. Could you check in “Optimize code” - Allow Check box in the Section - Table - Layout Properties?
this work but layout has changed. at v8.2.2, i don’t need “use custom sort or try to change column value to integer instead of string”, that still work. So on v8.8.1 if i do that, it take pretty much efforts. Is there any other way?
The support ticket was resolved with the following information:
Root cause description:
The sort order that was present in 8.2.2 is not replicable in 8.8.1. Though the mechanism was not determined, the default sort order was not changed between 8.2.2 and 8.8.1, and the reported 8.2.2 sort order was not replicable in an out of the box environment.
The behaviour seen in 8.8.1 is the intended behaviour in both 8.8.1 and 8.2.2, as .pyID is sorted as a text value, so the numerical order is not handled the same way as it would be if sorted purely on a numerical basis.
If it were the case that the OOTB behaviour in 8.2.2 was that pyID was sorted as seen in 8.2.2, and that was not the case in 8.8.1, even if the 8.2.2 sort order was not the intended behaviour, we would have been able to raise this as a regression bug.
Solution type: Explanation
The default sort order was not changed between the 2 listed versions, nor was the described behaviour reproducible. As the sort order seen in 8.8.1 is the intended and expected behaviour, it was determined that this will be handled via customization.