title: How does String.CompareTo work?
body: <p>When I compare strings containing positive/negative numbers, for example:</p>
  
  <pre><code>int res1 = "-1".CompareTo("1");
  int res2 = "-1".CompareTo("2");
  </code></pre>
  
  <blockquote>
    <p>res1 equals 1.<br>
    res2 equals -1.</p>
  </blockquote>
  
  <p>How does String.CompareTo work?? That would mean it is order is "2 -1 1"...</p>