sort complete and added a delete'