Display time series as load duration curve?

I’m quite new to grafana and not sure if I would be able to develop my own plugin. However I’m interested in finding out the answer to the following question:

Would it be possible to make a custom change to the graph panel implementation in order to display time series data as a load duration curve. See https://en.m.wikipedia.org/wiki/Load_duration_curve

Basically it means ordering all data points on the x axis by their y value.

I wonder if anybody can give me any pointers on how to do this.

Thanks in advance for any help.

Hi!

could you manage to solve this problem?

Nope…. It would still be great if this was possible. Do you need it too?

Yes I would also like to desplay a load duration curve, but unfortunately none of the already existing plugins solve the problem.

I solved it outside of Grafana within our energy system simulation software