title: Sort queryset with float values by specific order (like software version)
body: <p>I'm using django and I would like to get your help in order to sort my queryset as I would like. My queryset gets list of versions from a model.</p>
  
  <p>This is my queryset:</p>
  
  <pre><code>def actual_edition():
      return MyModel.objects.values_list('version', flat=True).filter(smt__isnull=False, published=True).order_by('version').first()
  </code></pre>
  
  <p>It gives me:</p>
  
  <pre><code>&lt;QuerySet ['10.0', '9.10', '9.8', '9.9']&gt;
  </code></pre>
  
  <p>But I would like to handle my queryset in order to display the result in this order:</p>
  
  <pre><code>&lt;QuerySet ['9.8', '9.9', '9.10', '10.0']&gt;
  </code></pre>
  
  <p>version field is a CharField in my model (I can't update this one to FloatField for example).
  I don't find a way to do that with Django. Any idea ?</p>
  
  <p>Thank you !</p>