sorting can now be disabled correctly