I apologize for any inconvenience caused. In any case, I'm afraid I need more info in order to keep investigating.
Which kind of products are you trying to filter? Simple, variable, with backorders activated... It's not very clear how are you sorting.
I await your feedback