I'm trying to sort recent articles on a particular folder on Freshdesk.
As far as I can tell the article has a "created_on" property that is of 'date/time' type (see "article.created_on" https://support.freshdesk.com/support/solutions/articles/65047-access-to-solutions )
{% assign sorted_articles = (folder.articles | sort: created_on) | reverse %}
{% for article in sorted_articles limit:10 %}
<li>{{article.id}} - {{article.created_on}} - {{article.title}}</li>
{% endfor %}
For some reason I cannot get it to sort properly, not even by id, or by using the reverse filter, it always returns the same list.
Does anyone see what am I doing wrong on the code above?