d sorted remove