I think I'll open a different issue for it as there is the same problem with `script_values`sorted` in other aggregations.