<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Web content Template image list sort by freemarker</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117568613" />
  <subtitle>Web content Template image list sort by freemarker</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=117568613</id>
  <updated>2026-04-05T20:40:46Z</updated>
  <dc:date>2026-04-05T20:40:46Z</dc:date>
  <entry>
    <title>Web content Template image list sort by freemarker</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117568612" />
    <author>
      <name>Deepak Panda</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=117568612</id>
    <updated>2019-10-25T11:40:57Z</updated>
    <published>2019-10-25T11:40:57Z</published>
    <summary type="html">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&amp;#39;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.&lt;br /&gt;&amp;lt;#if BannerWCMImage.getSiblings()?has_content&amp;gt;&lt;br /&gt;&amp;lt;#list BannerWCMImage.getSiblings() as cur_CarouselImage&amp;gt;&lt;br /&gt;&amp;lt;div&amp;gt; &amp;lt;a href=&amp;#34;${cur_CarouselImage.BannerWCMLink.getFriendlyUrl()}&amp;#34;&amp;gt; &amp;lt;img src=&amp;#34;${cur_CarouselImage.getData()}&amp;#34; /&amp;gt; &lt;br /&gt;&amp;lt;/a&amp;gt; &amp;lt;/div&amp;gt; &amp;lt;/#list&amp;gt;&lt;br /&gt;&amp;lt;/#if&amp;gt;</summary>
    <dc:creator>Deepak Panda</dc:creator>
    <dc:date>2019-10-25T11:40:57Z</dc:date>
  </entry>
</feed>
