<?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: Sorting a generic list on arbitrary property (C#)</title>
	<atom:link href="http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/</link>
	<description>My thoughs on stuff</description>
	<lastBuildDate>Fri, 30 Jul 2010 12:52:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Pål</title>
		<link>http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/comment-page-1/#comment-84</link>
		<dc:creator>Pål</dc:creator>
		<pubDate>Fri, 21 Aug 2009 11:24:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paks.no/?p=259#comment-84</guid>
		<description>Good question. You&#039;ll have to test that and let us know :)</description>
		<content:encoded><![CDATA[<p>Good question. You&#8217;ll have to test that and let us know <img src='http://blog.codewrench.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron Rudman</title>
		<link>http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/comment-page-1/#comment-83</link>
		<dc:creator>Ron Rudman</dc:creator>
		<pubDate>Sat, 15 Aug 2009 21:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paks.no/?p=259#comment-83</guid>
		<description>This works well for properties that are ints, dates, etc.  But what about for a string property where the value could contain special characters?  In particular, I&#039;m pretty sure values like &quot;coop&quot; and &quot;co-op&quot; would be sorted together by the default CompareTo for strings in this code.  Short of doing some kind of ugly if-then-else in the delegate, how can this be made to use the ordinal type of string compare?</description>
		<content:encoded><![CDATA[<p>This works well for properties that are ints, dates, etc.  But what about for a string property where the value could contain special characters?  In particular, I&#8217;m pretty sure values like &#8220;coop&#8221; and &#8220;co-op&#8221; would be sorted together by the default CompareTo for strings in this code.  Short of doing some kind of ugly if-then-else in the delegate, how can this be made to use the ordinal type of string compare?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: César F. Qüeb Montejo</title>
		<link>http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/comment-page-1/#comment-82</link>
		<dc:creator>César F. Qüeb Montejo</dc:creator>
		<pubDate>Thu, 06 Aug 2009 23:26:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paks.no/?p=259#comment-82</guid>
		<description>Awesome code Pal :) !!! , very, very useful.. just searching for some like this.. thank you a lot!!!

Regards</description>
		<content:encoded><![CDATA[<p>Awesome code Pal <img src='http://blog.codewrench.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  !!! , very, very useful.. just searching for some like this.. thank you a lot!!!</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pål</title>
		<link>http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/comment-page-1/#comment-81</link>
		<dc:creator>Pål</dc:creator>
		<pubDate>Thu, 23 Apr 2009 20:29:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paks.no/?p=259#comment-81</guid>
		<description>Yes, Linq is really handy and I use it more and more in different places I had not thought of at first.</description>
		<content:encoded><![CDATA[<p>Yes, Linq is really handy and I use it more and more in different places I had not thought of at first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopinath Varadharajan</title>
		<link>http://blog.codewrench.net/2009/04/14/sorting-a-generic-list-on-arbitrary-property/comment-page-1/#comment-80</link>
		<dc:creator>Gopinath Varadharajan</dc:creator>
		<pubDate>Thu, 23 Apr 2009 19:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.paks.no/?p=259#comment-80</guid>
		<description>Hi Pal,

You are the best! was searching for generic list sort in a simple way, and no one mentioned about Linq !

Thanks again, it save me a big chunk of code and Thanks to Linq&#039;s Simplicity...

Thanks,

Gopi</description>
		<content:encoded><![CDATA[<p>Hi Pal,</p>
<p>You are the best! was searching for generic list sort in a simple way, and no one mentioned about Linq !</p>
<p>Thanks again, it save me a big chunk of code and Thanks to Linq&#8217;s Simplicity&#8230;</p>
<p>Thanks,</p>
<p>Gopi</p>
]]></content:encoded>
	</item>
</channel>
</rss>
