fixed sort glitch?