anchor.diff:  --------------------------------------------------
   {
       "aggs" : {
  -        "genders" : {
  -            "terms" : {
  -                "field" : "gender",
  -                "order" : { "height_stats.avg" : "desc" }
  +        "genres" : {
  +            "terms" : {
  +                "field" : "genre",
  +                "order" : { "playback_stats.avg" : "desc" }
               },
               "aggs" : {
  -                "height_stats" : { "stats" : { "field" : "height" } }
  +                "playback_stats" : { "stats" : { "field" : "play_count" } }
               }
           }
       }
  
positive.code: }
  --------------------------------------------------
  
  The above will sort the countries buckets based on the average height among the female population.
  
  Multiple criteria can be used to order the buckets by providing an array of order criteria such as the following:
  
  
negative.code: --------------------------------------------------
  {
      "aggs" : {
          "genres" : {
              "terms" : {
                  "script" : {
                      "inline": "doc['genre'].value"
                      "lang": "painless"
                  }
              }
  