Stat panel sorting

I have a horizontal stat-type panel in grafana where I monitor the availability of servers. If the value is 1, then the server is running, if 0, then it is not working. And I need to make sure that the servers that are not working are at the very top of the list. grafana 10.2.3