Sort gallery images by title.