def order_by_raw(self, sql, bindings=None):
        if bindings is None:
            bindings = []

        type = 'raw'

        self.orders.append({
            'type': type,
            'sql': sql
        })

        self.add_binding(bindings, 'order')

        return self
Add a raw "order by" clause to the query
dataset/ETHPy150Open sdispater/orator/orator/query/builder.py/QueryBuilder.order_by_raw