title: Sort SortedList based on value C#
body: <p>I have a sorted list</p>
  <pre><code>private SortedList _slSorted = new SortedList(); 
  </code></pre>
  <p><code>_slSorted</code> has value <code>Field</code> which is of type class  (actually 2 classes alternately dumped into them) having all the properties in them.</p>
  <p>For example:</p>
  <blockquote>
  <p><code>key:0 value:class1 object(having properties property 1 , property 2)</code></p>
  <p><code>key:1 value:class2 object(having properties property 3 , property 4)</code></p>
  <p><code>key:2 value:class1 object(having properties property 1 , property 2)</code></p>
  <p>and so on..</p>
  </blockquote>
  <p>I need to sort the <code>sortedList</code> based on either property 1 or property 3.</p>
  <p>something like collect all the property values and sort them and rearrange</p>
  <p>How can I do that?</p>