com.sksamuel.elastic4s.searches.aggs
(Since version 5.4.1) Use order(TermsOrder) and pass in _term, _count or aggregation name