Django 1.9 JSONField order_by : <p>I have the following django model that contains JSONField:</p>

<pre><code>class RatebookDataEntry(models.Model):
    data = JSONField(blank=True, default=[])
    last_update = models.DateTimeField(auto_now=True)

    class Meta:
        verbose_name_plural = 'Ratebook data entries'
</code></pre>

<p>And <strong>data</strong> field contains this json:</p>

<pre><code>{
    "annual_mileage": 15000, 
    "description": "LEON DIESEL SPORT COUPE", 
    "body_style": "Coupe", 
    "range_name": "LEON", 
    "co2_gkm_max": 122, 
    "manufacturer_name": "SEAT"
}
</code></pre>

<p>Can I sort queryset by one of the data fields? This query doesn't work.</p>

<pre><code>RatebookDataEntry.objects.all().order_by("data__manufacturer_name")
</code></pre>
