title: How do I Sort/OrderBy IList<Int32>
body: <p>I'm trying Sort on IList, I have tried different approach but none works</p>
  
  <p>here is what my code looks like:</p>
  
  <pre><code>IList&lt;IWebElement&gt; listCountIdsUi = driver.FindElements(By.CssSelector("table#ct_ tr td:nth-of-type(1)"));
  
  List&lt;Int32&gt; ui = new List&lt;Int32&gt;();
  
  foreach (IWebElement option in listCountIdsUi)
  {
      if (!option.Text.ToString().StartsWith("Page"))
      {
          ui.Add(Convert.ToInt32(option.Text));
      }
  }
  </code></pre>
  
  <p>the only way I able to figured out is working with <code>ArrayList</code></p>
  
  <pre><code> ArrayList al = new ArrayList(ui);
   al.Sort();
  </code></pre>
  
  <p>is not possible using IList ?</p>