Tgraph interpolation problem

Dear,

I have the following TGraph, and when I use the line option, the interpolation looks weird.
Is there any fix to make sure the interpolation happens from one point to the neighbouring point?
Many thanks!

Try first to execute: graph->Sort();

Thank you so much Wile!