title: Sorting a list of items in a list box
body: <p>I want to get an bunch of items from a list box, add them to an array, sort it, then put it back into a different listbox. Here is what I have came up with:</p>
  
  <pre><code>ArrayList q = new ArrayList();
          foreach (object o in listBox4.Items)
              q.Add(o);
          q.Sort();
          listBox5.Items.Add(q.ToString());
  </code></pre>
  
  <p>But it doesnt work. Any ideas?</p>