I want to sort datas via elasticsearch rest client, below is my template in logstash
{ "index_patterns": ["index_name"], "templat