drag and drop sort of working