title: Comparing characters in R
body: <p>How does comparing characters work? All I've been able to determine is that they are not converted to ascii.</p>
  
  <pre><code>&gt; 'b' &gt; 11
  [1] TRUE
  &gt; 'b' &lt; 99999999
  [1] FALSE
  &gt; 'b' &gt; 'a'
  [1] TRUE
  &gt; 'b' &gt; 'B'
  [1] FALSE
  &gt; 'A' &gt; 'b'
  [1] FALSE
  </code></pre>
  
  <p>What is the logic here?</p>