What apparently happens is that any suffix is treated as a pre-release, so 2026.8.0-latest.1 sorts below 2026.8.0.
I think that’s quite unintuitive and posted a bug report:
Edit: Learned on the above topic that current best practice is to not use these values at all, but use the compatibility branches. The current setup should work, but when I find time I’ll update the component to use branches.