<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Dynamic Property Sorter</title>
	<atom:link href="http://benreichelt.net/blog/2006/01/16/dynamic-property-sorter/feed/" rel="self" type="application/rss+xml" />
	<link>http://benreichelt.net/blog/2006/01/16/dynamic-property-sorter/</link>
	<description></description>
	<lastBuildDate>Tue, 18 Aug 2009 22:20:45 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ben</title>
		<link>http://benreichelt.net/blog/2006/01/16/dynamic-property-sorter/comment-page-1/#comment-613</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 07 Apr 2007 15:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/01/16/dynamic-property-sorter/#comment-613</guid>
		<description>Good point about sorting in different directions per field. Maintaining an array of directions would work, but that seems error prone, I might consider creating a new object, say SortField, that would encapsulate the name of the field and the direction to be sorted on.</description>
		<content:encoded><![CDATA[<p>Good point about sorting in different directions per field. Maintaining an array of directions would work, but that seems error prone, I might consider creating a new object, say SortField, that would encapsulate the name of the field and the direction to be sorted on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mcfly</title>
		<link>http://benreichelt.net/blog/2006/01/16/dynamic-property-sorter/comment-page-1/#comment-612</link>
		<dc:creator>Mcfly</dc:creator>
		<pubDate>Fri, 06 Apr 2007 23:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://s194721765.onlinehome.us/blog/2006/01/16/dynamic-property-sorter/#comment-612</guid>
		<description>Hi,

Regarding your comment on cascading sorting... how did you implement it? To me it seems that your can only handle one direction on all sorting params... so no &quot;...ORDER BY firstname, lastname DESC, age&quot; type of sorting, right?

Anyway, I guess your code could be extended by using an array for the direction as well:

for(int i=0;i</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Regarding your comment on cascading sorting&#8230; how did you implement it? To me it seems that your can only handle one direction on all sorting params&#8230; so no &#8220;&#8230;ORDER BY firstname, lastname DESC, age&#8221; type of sorting, right?</p>
<p>Anyway, I guess your code could be extended by using an array for the direction as well:</p>
<p>for(int i=0;i</p>
]]></content:encoded>
	</item>
</channel>
</rss>
