How to make sorting like this:
->orderByRaw('payed_promo >= ' . $time . ' DESC')
->orderByRaw('payed_vip >= ' . $time . ' DESC')
->orderBy('rating->urls->' . $url_1 . '->rating', 'DESC')
Here is my sorting from MySQL(Eloquent laravel) how to do this on Elasticsearch?