Remove sorting, otherwise rewrites won't work correctly.