The getImageList documentation states:
"sort items by multiple fields. example: `[{"sortby":"age","sortdir":"DESC","sortmode":"numeric"},{"sortby":"name","sortdir":"ASC"}]`".
I have:
[[getImageList?
&tvname=`eventDetails`
&tpl=`event_calendarItemApril`
&docid=`[[+id]]`
&sort=`{"sortby":"date","sortdir":"ASC"}`
]]
and have also tried the exact syntax of the example:
[[getImageList?
&tvname=`eventDetails`
&tpl=`event_calendarItemApril`
&docid=`[[+id]]`
&sort=`[{"sortby":"date","sortdir":"ASC"}]`
]]
Neither affect the output sorting.
“Date” is a defined field of input type date in the eventDetails tv.
Also, I don’t know what sortmode is? Where is this defined, and is there a value that’s relevant to sorting by date?