drag\sort\edit refactoring