Hi

I have a large vocabulary that is ideally displayed by Vocabulary Index, however I have a couple of terms that hold numerical values eg
SSAP 13 'Accounting for research and development'
SSAP 15 'Accounting for deferred tax'
SSAP 17 'Accounting for post balance sheet events'
SSAP 19 'Accounting for investment properties'
SSAP 4 'Accounting for government grants'

Ideally I would like for the alphabetical display to honor a numerical sort as well as the alphabetical sort so I get the following order:
SSAP 4 'Accounting for government grants'
SSAP 13 'Accounting for research and development'
SSAP 15 'Accounting for deferred tax'
SSAP 17 'Accounting for post balance sheet events'
SSAP 19 'Accounting for investment properties'

Is this currently possible?

Thanks

Comments

apmac’s picture

Being a dumbass. I just edited the term and inserted an extra space before the single digit number to get the desired result.

xano’s picture

Status: Active » Closed (works as designed)

I think being a dumbass was actually the only possible solution in this case as term names are usually string (yours are too) and the code compares them as strings as well. There is no way to do a partial numerical comparison without adding additional term name specific code.