anchor.diff:    "aggs": {
       "group_by_state": {
         "terms": {
  -        "field": "state"
  +        "field": "state.keyword"
         },
         "aggs": {
           "average_balance": {
  
positive.code:   "aggs": {
      "group_by_state": {
        "terms": {
          "field": "state"
        }
      }
    }
  
negative.code:   "aggs": {
      "group_by_state": {
        "terms": {
          "field": "state.keyword",
          "order": {
            "average_balance": "desc"
          }
  