wofsauge/IsaacDocs

Incorrect entry order when sorting by integer enum value

ddeeddii opened this issue · 1 comments

If an enum has a double digit value, and you sort the page by value, the order of displaying the enums is incorrect.

Example: 0->1->10->100->1000->101->etc.

You can reproduce this bug by going into any enum documentation page (like EntityType) and clicking on the value field, you should get the following result: result

Integer 'values' should be treated as integers and sorted as such, not sorted alphabetically like strings.
It's not a huge issue but it's kind of annoying when switching between sorting by enumerators and values.

Thanks for the bug report. This issue should now be fixed with commit f3337ea.