title: "At least one object must implement IComparable" for an INT? As far as I know, it does
body: <p>Ok, I have a simple <code>IEnumerable&lt;HtmlString&gt; things</code> and I want to divide it up into four equal groups.</p>
  <pre><code>var quarter = things.OrderBy(t =&gt; t.Foo).Count() / 4;
  </code></pre>
  <p>should do the trick, but instead I get this funkiness:</p>
  <blockquote>
  <p>Server Error in '/' Application. At least one object must implement
  IComparable. Description: An unhandled exception occurred during the
  execution of the current web request. Please review the stack trace
  for more information about the error and where it originated in the
  code.</p>
  <p>Exception Details: System.ArgumentException: At least one object must
  implement IComparable.</p>
  <p><strong>Line 36:           int quarter = things.OrderBy(t =&gt; t.Foo).Count() / 4;</strong></p>
  </blockquote>
  <p>Anyone know what the heck is going on here?  Why would I need to implement IComparable to get a simple count?</p>