How do I sort buckets by Term Aggregation's doc_count?

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