Added delete image to sort