Versionsort
From Sonic Retro
Revision as of 19:17, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Revision as of 19:17, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Converts a version number into something a wiki table can sort. Version numbers containing letters still won't sort properly however.
Example:
{{versionsort|1.2.3}} returns 000001000002000003000000000000
{{versionsort|2.55.0.1}} returns 000002000055000000000001000000