title: How to order (sort) a <li> list with numeric content?
body: <p>I have a list as below that is created dynamically:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
    &lt;li&gt;20&lt;/li&gt;
    &lt;li&gt;10&lt;/li&gt;
    &lt;li&gt;5&lt;/li&gt;
    &lt;li&gt;3&lt;/li&gt;
    &lt;li&gt;32&lt;/li&gt;
    &lt;li&gt;25&lt;/li&gt;
    &lt;li&gt;6&lt;/li&gt;
    &lt;li&gt;12&lt;/li&gt;
    &lt;li&gt;8&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Is it possible order this list using jQuery? I need it ordered from lower to bigger, like this:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
    &lt;li&gt;3&lt;/li&gt;
    &lt;li&gt;5&lt;/li&gt;
    &lt;li&gt;6&lt;/li&gt;
    &lt;li&gt;8&lt;/li&gt;
    &lt;li&gt;10&lt;/li&gt;
    &lt;li&gt;12&lt;/li&gt;
    &lt;li&gt;20&lt;/li&gt;
    &lt;li&gt;25&lt;/li&gt;
    &lt;li&gt;32&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>