title: Need lambda expression OrderBy with DateTime conversion
body: <p>I am trying to create a lambda expression (Linq, C# 3.5) that can perform a OrderBy on a value that is of data type String but which actually contains a parse-able DateTime. </p>
  
  <p>For example, typical values may be "5/12/2009" , "1/14/2008", etc.</p>
  
  <p>The OrderBy clause below works correctly for ordering (as if string data), but I actually want to treat the values as DateTimes, and perform the sort by Date. (The sortColumn would be something like "dateCreated".)</p>
  
  <pre><code>List&lt;MyObject&gt; orderedList = unorderedList.OrderBy(p =&gt; p.Details.Find(s =&gt; s.Name == sortColumn).Value).ToList();
  </code></pre>
  
  <p>Is there a way to convert the values in the predicate to do this?  Any help appreciated!</p>