title: SQL: Compare Version string (W.X.Y.Z) in MySQL
body: <p>My problem is similar to <a href="https://stackoverflow.com/questions/8709452/how-to-compare-version-string-x-y-z-in-mysql">this one</a> except I have 4 groups, not 3.</p>
  
  <p>Is there a way to order by version strings with 4 groups in MySQL only?</p>
  
  <p>Some of the sample versions are:</p>
  
  <pre><code>10.0.0.0
  11.0.0.3
  12.0.0.125
  13.8.6.800
  </code></pre>
  
  <p>There will always only be 4 groups.</p>