elasticsearch/elasticsearch — pull request #5321 by uboness (2014-03-03 15:05:47+00:00)
Title: Added support for sorting buckets based on single-bucket sub aggregation...

...s (based on their doc_count)

Closes #5253