edit sort