Mixed datasource, which dataset is plotted first?

I am using grafana to present data from some weather sensors. In addition I am pulling in forecast data to combine those with my sensor data, getting a graph like this:

The yellow line is my sensor data, the green line is the forecast, the vertical lines showing for when the forecast is (hourly for the short range, six hours for the longer range). The temperature graph is exactly as I want it, for the pressure, I get this graph:

The forecast data is put on top of my measurement data. How can I change this? I am using a mixed data source with the sensor data from a postgreSQL database and the forecast is reading in a local copy of a json from api.met.no. In both cases, the forecast is dataset A and the sensor data is dataset B.