{% assign sorted_photos = (site.photos | sort: 'date') | reverse %} {% for photo in sorted_photos %} {{ photo.title }}
{% endfor %}