finished drag and drop sorting