title: LINQ- Combine Multiple List<T> and order by a value (.Net 3.5)
body: <p>I'm trying to combine a number of <code>List&lt;T&gt; where T:IGetTime</code> (i.e <code>T</code> will always have method <code>getTime()</code>).</p>
  
  <p>Then I'm trying order the items by the <code>DateTime</code> that <code>getTime()</code> returns. </p>
  
  <p>My LINQ looks like this:</p>
  
  <pre><code>public static List&lt;T&gt; Combine(List&lt;T&gt; one, List&lt;T&gt; two, List&lt;T&gt; three)
      {
          var result = from IGetTime item in one
                       from IGetTime item2 in two
                       from IGetTime item3 in three
                       select new{ item, item2, item3 };
  
          return result.ToList();
      }
  </code></pre>
  
  <p>I've yet to add an <code>orderby</code>. Which should look somthing like this:</p>
  
  <pre><code>var thestream = from T item in this
                  orderby item.getTime() descending
                  select item;
  </code></pre>
  
  <p>Is there anyway to both combine and order the final list????</p>
  
  <p>Thanks in advance,</p>
  
  <p>Roberto</p>