Pie Chart sort legend label (not by value)

Hi all,
I’m on Grafana 9.2 with a simple Pie Chart.

sum by (ProductVersionYear, ProductUpdateLevel)(sql_server_version{job="$job", ProductVersionYear=~"$sqlversion", exported_instance=~"$dbinstance"})

I would like to know if…is it possible sort legend by label?
From PromQL naturally is not possible… I tried from the grafana sorting but for this type of panel it seems that there is no setting that affects

Like this way:
2019 CU14
2019 CU8
2017 CU22
2017 CU10
2016 CU7

Now is…

Thanks ALEN