The problem is that some screening numbers have non-numeric characters.
In the case of ncer test there is a number like: "F-7006; P-369/7007; L-218" so it breaks when the "369/7007" is casted to int in order to be sorted numerically.
The proposed solution is to check if it's numeric before casting it to int, and if not, leave it as is. Once sorted it will appear after the numeric elements since in python: