<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Date Sorting Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Date Sorting Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 12:23:43 +0000</pubDate>
  <lastBuildDate>Mon, 19 Nov 2007 18:01:38 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=7983</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Date Sorting Problem :    albrecht wrote:I have also...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=28639&amp;title=date-sorting-problem#28639</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7983<br /><strong>Posted:</strong> 19 November 2007 at 6:01pm<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by albrecht" alt="Originally posted by albrecht" style="vertical-align: text-bottom;" /> <strong>albrecht wrote:</strong><br /><br /><div>I have also the Problem if I have a Size Column</div><div>with mixed SizeValues (xx KB, yy MB, ...) the sorting</div><div>is always alphabetic not numeric...</div></td></tr></table><br><br>Well, when .Value property is available -- it sorts using it's Variant value (which may be numeric, date or anything else).<br><br>Otherwise it sorts by text strings.<br><br>It depends on how do you initialize items in your code.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Mon, 19 Nov 2007 18:01:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=28639&amp;title=date-sorting-problem#28639</guid>
  </item> 
  <item>
   <title><![CDATA[Date Sorting Problem : I have the sam problem,  tried...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=28330&amp;title=date-sorting-problem#28330</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3474">albrecht</a><br /><strong>Subject:</strong> 7983<br /><strong>Posted:</strong> 09 November 2007 at 3:33pm<br /><br />I have the sam problem, <DIV>tried to add a date value to an item</DIV><DIV>(as string and as date) but</DIV><DIV>sorting by date doesn't correct sort</DIV><DIV>could this be because of the windows</DIV><DIV>language setting?</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20071109_153151_report.JPG" border="0"></DIV><DIV>I have also the Problem if I have a Size Column</DIV><DIV>with mixed SizeValues (xx KB, yy MB, ...) the sorting</DIV><DIV>is always alphabetic not numeric...</DIV><DIV>&nbsp;</DIV><DIV>so I also hope for help :-)</DIV><DIV>&nbsp;</DIV><DIV>regards</DIV>]]>
   </description>
   <pubDate>Fri, 09 Nov 2007 15:33:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=28330&amp;title=date-sorting-problem#28330</guid>
  </item> 
  <item>
   <title><![CDATA[Date Sorting Problem : The control will sort date/time...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=26330&amp;title=date-sorting-problem#26330</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 7983<br /><strong>Posted:</strong> 23 September 2007 at 5:12pm<br /><br />The control will sort date/time columns automatically, but you have to properly set Value of corresponding items.<br><br>It looks for me that you sent a datetime value as a simple String, and it is sorted using String comparison rules.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sun, 23 Sep 2007 17:12:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=26330&amp;title=date-sorting-problem#26330</guid>
  </item> 
  <item>
   <title><![CDATA[Date Sorting Problem : I am looking for a way to properly...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=25749&amp;title=date-sorting-problem#25749</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3269">rob@shuksan.com</a><br /><strong>Subject:</strong> 7983<br /><strong>Posted:</strong> 12 September 2007 at 11:39am<br /><br />I am looking for a way to properly sort a report column by date. I need the column to sort in descending order where the most recent date is on top.<DIV>&nbsp;</DIV><DIV><DIV></DIV><DIV>wndReportControl.SortOrder.Add wndReportControl.Columns(COLUMN_SENT)<BR>wndReportControl.SortOrder(0).SortAscending = False<BR>wndReportControl.Populate</DIV><DIV>&nbsp;</DIV><DIV>The results come out as such:</DIV><DIV>&nbsp;</DIV><DIV>9/3/2007 9:31 PM</DIV><DIV>9/11/2007 8:48 PM</DIV><DIV>9/1/2007 6:46 AM</DIV><DIV>&nbsp;</DIV><DIV>Any help would be appreciated. Thx.</DIV></DIV>]]>
   </description>
   <pubDate>Wed, 12 Sep 2007 11:39:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7983&amp;PID=25749&amp;title=date-sorting-problem#25749</guid>
  </item> 
 </channel>
</rss>