I am currently experiencing the same issue with collections.
When I try to sort by European formatted dates, for example dd/mm/yyyy or dd-mm-yyyy , I get a string sort. Even when timezone: Europe/Paris installed in the _config.yml file.
The only way to get sorted by date is to use the ISO format yyyy-mm-dd .
And sorting now works.
Change Here's how jekyll manages the "dates":
date: "2015-12-21" # String date: 2015-12-1 # String D not zero paded date: 01-12-2015 # String French format date: 2015-12-01 # Date date: 2015-12-21 12:21:22 # Time date: 2015-12-21 12:21:22 +0100 # Time
If you do not need Time, you can adhere to the format date: YYYY-MM-DD . And you must be consistent in your collection. If you mix String, Date and / or Time Liquid will give an error, for example Liquid error: comparison of Date with Time failed or Liquid error: comparison of String with Date failed
source share