title: Sort decimal in PHP or MySQL
body: <p>I am developing a ledger application. My main problem is that my client has Chart of Account with code like this </p>
  
  <pre><code>1.1.1, 
  1.1.2 
  ...... 
  1.1.10, 
  1.1.11,
  .........
  </code></pre>
  
  <p>Using PHP or MySQl I can only manage to sort them to </p>
  
  <pre><code>1.1.1, 
  1.1.10, 
  1.1.11,
  1.1.2, 
  .......
  </code></pre>
  
  <p>Any help on how to sort it so that 1.1.10 is coming after 1.1.9?</p>
  
  <p>Thanks in advance.</p>