remove n sort