Added to do list and sort function for images