title: What is the best way to sort an IList<T> in .Net 2.0?
body: <p>I have an <code>IList&lt;T&gt;</code> that I need to sort, and I would rather not copy the list if possible.  I've noticed that <code>ArrayList</code> has an <code>Adapter</code> static method that wraps the passed list without copying it, but this takes an <code>IList</code> and I have an <code>IList&lt;T&gt;</code>.  Is it safe to cast from a <code>System.Collections.Generic.IList&lt;T&gt;</code> to a <code>System.Collections.IList</code> and just use the <code>Adapter</code> method?</p>
  
  <p>Note that this is .Net 2.0, so LINQ is not an option.</p>