I am using collections to sort list of blog entries:
---
title: Noticias
content:
items: '@self.children'
order:
by: header.date
dir: asc
pagination: true
limit: 10
---
All my page dates have the following format:
---
title: 'Test Page'
date: '15-09-2015 13:00'
taxonomy:
category:
- Noticias
---
Content...
So the listing is done incorrectly, as 28-05-2005
goes after 15-05-2017
.
What shall be done in Grav to sort a collection taking into consideration date format? Specifically, sort entries using dd-mm-yyyy hh:mm
format?