Numerical sorting of strings

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  
1 answers

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.