Is there any way to order the cmis table result?
I tried adding order by to sprintf('SELECT * FROM %s WHERE cmis:name like \'%s\' AND IN_FOLDER(\'%s\')'
but nothing changes.
Regards.

Comments

surfingaround’s picture

On which field are you ordering?

Did you check this page?
https://wiki.alfresco.com/wiki/CMIS_Query_Language#ORDER_BY_clause