title: Lexicographical order of numbers
body: <p>I'm currently learning about lexicographical sorting but not much is found for numbers. The example i found is based of <a href="https://stackoverflow.com/questions/45950646/what-is-lexicographical-order">What is lexicographical order?</a> </p>
  
  <p>In the example, it i said that</p>
  
  <pre><code>1 10 2
  </code></pre>
  
  <p>are in lexicographical ordering. The answer stated that "10 comes after 2 in numerical order but <strong>10 comes before 2 in alphabetical order</strong>". I would like to know what does <strong>"10 comes before 2 in alphabetical order"</strong> really mean. Is 10 represented as a character in ASCII or something? I'm really confused.</p>
  
  <p>Would it be something in python where:</p>
  
  <pre><code>ord(10) 
  </code></pre>