Web content Template image list sort by freemarker

Deepak Panda, modified 5 Years ago. New Member Posts: 18 Join Date: 4/19/19 Recent Posts
Hi,I have add ten images through web content structure and want to iterate those by freemarker template coding  as provided below, but I want to sort it by date of image upload, which I can't. Kindly help me to do so. My list iteration coding in as below. I want to sort it by date but do not know what is the exact field for the same.
<#if BannerWCMImage.getSiblings()?has_content>
<#list BannerWCMImage.getSiblings() as cur_CarouselImage>
<div> <a href="${cur_CarouselImage.BannerWCMLink.getFriendlyUrl()}"> <img src="${cur_CarouselImage.getData()}" /> 
</a> </div> </#list>
</#if>