Currently sorting by OS version on the Devices table page treats values there as strings, effectively making balenaOS 2.99.27 appear on top and balenaOS 2.113.18 is further down. Please have a look how this functionality can behave as intended when minor versions are going into 3 digits
Matt set the status to Completed
This was a bug, the fix is now live as of version 18.16.5 of the dashboard. Thank you for reporting it and raising it here