<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012498" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012498</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/listing-items#comment-1072228</link>
    <description> &lt;p&gt;Cool &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 04 Oct 2000 02:18:22 +0000</pubDate>
 <dc:creator>sordid</dc:creator>
 <guid isPermaLink="false">comment 1072228 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/listing-items#comment-1072190</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;@array = (&amp;quot;462&amp;quot;,&amp;quot;903&amp;quot;,&amp;quot;824&amp;quot;);&lt;br /&gt;print(reverse(sort @array));&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
outputs&lt;br /&gt;
903824462&lt;/p&gt;
&lt;p&gt;As for the date, you could use the localtime() feature, which outputs the date in a 9-number variable.  Then you could just sort() the array  of dates to display least to greatest.&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Oct 2000 11:47:37 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1072190 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/listing-items#comment-1072180</link>
    <description> &lt;p&gt;As for the date thing, try using numbers for your dates :&lt;/p&gt;
&lt;p&gt;&quot;yymmdd&quot; format will organize your dates by newest to oldest.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Oct 2000 05:04:21 +0000</pubDate>
 <dc:creator>sordid</dc:creator>
 <guid isPermaLink="false">comment 1072180 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/listing-items#comment-1072179</link>
    <description> &lt;p&gt;You could do that by first sorting the array.&lt;br /&gt;
Get the last value of the array by using $i = $#array.&lt;br /&gt;
Next use a loop to print out each item starting with the last, decrementing $i each time you do it. Oh hell, like this, haha :&lt;/p&gt;
&lt;p&gt;@array = (&quot;223&quot;, &quot;479&quot;, &quot;145&quot;, &quot;906&quot;, 400&quot;);&lt;br /&gt;
@array = sort(@array);&lt;br /&gt;
$i = $#array; #gets the last item number in the array&lt;br /&gt;
$z = 0; #first item in the array&lt;br /&gt;
while ($i &amp;gt;= $z) {&lt;br /&gt;
print &quot;$array[$i]\n&quot;;&lt;br /&gt;
$i--;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;finit&lt;br /&gt;
should do the trick for ya.&lt;/p&gt;
 </description>
     <pubDate>Tue, 03 Oct 2000 05:01:47 +0000</pubDate>
 <dc:creator>sordid</dc:creator>
 <guid isPermaLink="false">comment 1072179 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
