Not sure I understand the question because if your calculation evaluates to a string (as the hyphen inserted suggests) it’ll sort like a string. Adding leading zeros to pad would probably approximate numerical sorting ie