title: sqlalchemy - how to sort dictionary text field by a value
body: <p>I have a class model define like this:</p>
  
  <pre><code>class Order(orm.Model):
      __tablename__ = "order_index"
      id = orm.Column(orm.BigInteger, primary_key=True)
      detail = orm.Column(orm.TEXT)
  query = Order.query.filter(some_filter)
  </code></pre>
  
  <p>the detail row is in dictionary format.(etc:<code>{"status": 1, "win_price": 0,..}</code> )
  How do I sort the query result by a key of <code>win_price</code>?</p>