Hi everybody

I'm currently having an issue with the sort order of an entries listing.

In the fieldset yaml file I have defined a custom date field:

trainingStart:
  display: Start date of your training
  type: date

On the website we have an overview of all upcoming trainings. For us it makes sense to sort the entries by the start date. So I've put the following code into the template file:

{{ entries:listing sort_by="trainingStart" }}

But for some reason the entries get sorted quite randomly. In the screenshot you can see the start dates (marked with the red border). So I'm wondering whether I'm doing something wrong or whether other people were running into the same issue already.

Thanks in advance for your help.

Cheers Sebastian

PS: The project will be running on Statamic 1.8.3

2014-09-30_09-43-53.png