If there are multiple `order`, what is the priority?

Hello, I'm using a translation because I can't speak English, so please teach me gently.
Currently, I have something I would like to ask the order, so I am in a community.

GET /_search

{
"track_scores": true, "sort" : [
{ { "post_date" : {"order" : "desc"} }, 
{ { "name" :  {"order" : "desc"} },
{ { "age" : "desc" }
],
"query" : {
"term" : { "user" : "kimchy" }
}
}

If so, who is the priority?

thank you for watching

First by post_date then by name and then by age.

1 Like

Thank you for solving this problem!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.