Numerical sorting of strings

0
Hello, Is there any easy way to sort strings numerically. For example I have 2 strings: ‘104 Test’ and ‘54 Best’ I want it to be sorted numerically meaning 54 should be shown before 104 but since it is a string, 104 will be above 54. Is there a easy way to solve this in Mendix? Thanks  
asked
1 answers
0

The way I’ve done this before is to add an extra attribute and store the numeric value in there. Any sorting can then be done on this attribute, but the value shown should be String version.

Hope this helps.

answered