What happened?
Description
While trying to sort some entries by a custom field of number type I came across the following:
- The sorting was inorrect when sorting by a number field:

- The sorting was still incorrect when switching to a plain text field (either with textual or numeric content):

- The sorting changes when I click
edit to bulk edit those entries:

Craft CMS version
5.2.5
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
What happened?
Description
While trying to sort some entries by a custom field of
numbertype I came across the following:editto bulk edit those entries:Craft CMS version
5.2.5
PHP version
No response
Operating system and version
No response
Database type and version
No response
Image driver and version
No response
Installed plugins and versions