Summary:
Cannot sort by custom date field
Detailed Description:
I have a ListIt that I'm using to show Client Testimonials. I have a custom
field called 'date_written' that allows the user to select a date (using the
date picker) that the testimonial was written.
I'm trying to sort the ListIt on the frontend using the sortby attribute:
{cge_module_hint module='ListIt2Comments' category='dove-house'
orderby='custom_date_written|ASC'}
However it only seems to read and sort by the first part of the date, so the day
number in my case, rather than the whole date. So I have something like:
01-01-2013
01-12-2012
03-05-2013
24-05-2013
25-04-2014
Any ideas on how to fix/solve this?
Thanks!