Strange line in Graph panel

Hi,

I’m using Grafana 6.6 to display graph using Influx 2.0 data via InfluxDB (Flux) Datasource [BETA] plugin 5.4.1. There is a strange line in Graph panel going from left to write when I choose lines draw mode and data has an intermediate point missing. Can someone suggest why it is not connecting dots properly

Graph with Line

Graph with dots

Data

,result,table,_time,_value,_field

,_result,0,2020-02-03T19:54:31Z,3.6,weight
,_result,0,2020-02-03T20:10:50Z,3.6,weight
,_result,0,2020-02-03T20:27:08Z,3.6,weight
,_result,0,2020-02-03T20:43:30Z,3.6,weight
,_result,0,2020-02-03T20:59:48Z,3.6,weight
,_result,0,2020-02-03T15:16:59Z,3.8,weight
,_result,0,2020-02-03T15:33:17Z,3.8,weight
,_result,0,2020-02-03T15:49:38Z,3.6,weight
,_result,0,2020-02-03T16:05:58Z,3.8,weight
,_result,0,2020-02-03T16:22:16Z,3.7,weight
,_result,0,2020-02-03T16:38:37Z,3.7,weight
,_result,0,2020-02-03T16:54:55Z,3.7,weight
,_result,0,2020-02-03T17:11:14Z,3.6,weight
,_result,0,2020-02-03T17:27:32Z,3.6,weight
,_result,0,2020-02-03T17:43:53Z,3.6,weight
,_result,0,2020-02-03T18:00:12Z,3.6,weight
,_result,0,2020-02-03T18:16:30Z,3.6,weight
,_result,0,2020-02-03T18:32:51Z,3.6,weight
,_result,0,2020-02-03T18:49:09Z,3.6,weight
,_result,0,2020-02-03T19:05:27Z,3.6,weight
,_result,0,2020-02-03T19:21:45Z,3.6,weight

Answering my own question:)

Data needs to be sorted by time. For strange reason my was not. But one command |> sort(columns: ["_time"], desc: false) fixed that