Top N Devices Usage in Grafana from OpenNMS HELM

Hi All,

We are using OpenNMS and Grafana and integrated using HELM.
We made graphs to show the CPU utilization for some servers in Grafana. Data is coming from OpenNMS.
We have a requirement to show the top 10 devices having highest CPU utilization. Can any one help me with this? I am unable to find any solution for this.

If anyone knows about this, kindly respond.