Drag and drop sorting method