Issue with Numerical Sorting of Identifiers (1, 10, 2, 3...)

Hello Omeka Community,

I’ve encountered an issue on my Omeka site regarding the sorting of numerical identifiers. Currently, the sorting is done lexicographically, resulting in an order like 1, 10, 2, 3, etc., instead of the expected numerical order of 1, 2, 3, 10, and so on.

I’m looking for guidance on how to adjust the sorting so that identifiers are sorted numerically, ensuring a sequence of 1, 2, 3, 4, 5, etc. I’m interested in any advice, plugins, or scripts that the community might recommend to resolve this sorting issue.

Thank you in advance for your assistance and insights.