title: How to sort an arraylist ? If it is numeric or alphabetical?
body: <p>When I used </p>
  
  <blockquote>
    <p>arraylist.sort() </p>
  </blockquote>
  
  <p>method its display sorting of alphabetical string in order but not display number value in sequence.</p>
  
  <p>For Example</p>
  
  <p>I have an arraylist like </p>
  
  <pre><code>1
  22
  21
  34
  27
  68
  100
  </code></pre>
  
  <p>and i am sorting this array list using vb.net then its display the output </p>
  
  <pre><code>1 
  100 
  22 
  21 
  27 
  34 
  68
  </code></pre>
  
  <p>That means sorting was done but they sorting the array list basis on first character of string but i need in sequence like</p>
  
  <pre><code>1
  21
  22
  27
  34
  68
  100 
  </code></pre>
  
  <p>and also when i add alphabetical then its also worked.</p>