[Elasticsearch order by a certain field value first](https://stackoverflow.com/questions/39762238/elasticsearch-order-by-a-certain-field-value-first darklow/elasticsearch.custom.sort.py script sort { index: 'index_name', body: { form: 0, size: 20, query: { bool: { filter: [ { match: { userId: `${userId}`} }, { match: { delete_at: null } ] } }, sort: [ { _script: { type: `number`, script: { param..