Graph - hover showing wrong values

When hovering over a data point the wrong data is shown. What can I do to correct this, please?

Version: 7.1.8.1 (x64) / LibreOffice Community
Build ID: e1f30c802c3269a1d052614453f260e49458c82c
OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL

It is a bug (tdf#37407), if Sort by X values is marqued, and first column is not sorted.
As a workaround, sort the data range by the first column.