How to sort elements of array list in C#
<p>I have an ArrayList that contains,</p>

<pre><code>[0] = "1"
[1] = "10"
[2] = "2"
[3] = "15"
[4] = "17"
[5] = "5"
[6] = "6"
[7] = "27"
[8] = "8"
[9] = "9"
</code></pre>

<p>Now i need to sort the array list such that it becomes,</p>

<pre><code>[0] = "1"
[1] = "2"
[2] = "5"
[3] = "6"
[4] = "8"
[5] = "9"
[6] = "10"
[7] = "15"
[8] = "17"
[9] = "27"
</code></pre>

<p>At last i will be getting the values from ArrayList and using them as <strong>'int'</strong> values. How can i do this? Or shall i convert them to int at first and then sort them.?</p>
