title: Array.Sort() not sorting correctly
body: <p>Starting out and can't figure this out this one. This code was built to make arrays and sort it by increasing order</p>
  <pre><code>        int n = Convert.ToInt32(Console.ReadLine());
          string readLine = Console.ReadLine();
          string[] values = readLine.Split(' ');
          int[] intArray = new int[n];
          for (int i = 0; i &lt; n; i++)
          {
              intArray[i] = Convert.ToInt32(values[i]);
              Array.Sort(values);
              {
                  Console.WriteLine(intArray[i]);
              }
  </code></pre>
  <p>If I enter these inputs:</p>
  <p>12</p>
  <p>60 80 100 40 40 0 70 60 90 100 40 0</p>
  <p>It outputs this</p>
  <pre><code>60
  0
  100
  100
  40
  40
  40
  60
  60
  70
  80
  90
  </code></pre>
  <p>Why does it output like this? It has already done half the job, but why is the first four integers like this. It also seems that a 0 has turned into a 60. If not for the odd 60 I would assume that it only sorts based on the first 2 digits of a number.</p>
  <p>Would like to know what I did wrong here</p>