title: Using lambda expression in place of IComparer argument
body: <p>Is it possible with C# to pass a lambda expression as an IComparer argument in a method call?</p>
  
  <p>eg something like</p>
  
  <pre><code>var x = someIEnumerable.OrderBy(aClass e =&gt; e.someProperty, 
  (aClass x, aClass y) =&gt; 
    x.someProperty &gt; y.SomeProperty ?  1 : x.someProperty &lt; y.SomeProperty ?  -1 : 0);
  </code></pre>
  
  <p>I can't quite get this to compile so I'm guessing not, but it seems such an obvious synergy between lambdas and anonymous delegates that I feel I must be doing something foolishly wrong.</p>
  
  <p>TIA</p>