GetImageList Sort Question

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?

This could help.

Bob, thanks for digging this up. It looks like the solution uses the TV output for sorting, which if accurate, doesn’t solve the issue I’m trying to solve.

You might try this:

&sortmode = `string`