Solved
Page.listChildren() or data-sly-list=currentPage.listChildren to return sorted list
Hi All,
I am recursively listing out all the sub pages from a path using data-sly-list=currentPage.listChildren. But its returning the list as per node structure, is there anyway we can pass some parameters to get a sorted list based on title or published date.