您可以使用限制规范中的“columns”属性来实现排序。见下面的例子。
{ "type" : "default", "limit" : <integer_value>, "columns" : [list of OrderByColumnSpec], }
有关详细信息,请参阅以下德鲁伊文档 - http://druid.io/docs/latest/querying/limitspec.html