Grafana is ignoring gridPos

Hi there - I am facing issue with Grafana ignoring 'gridPos" for imported through provisioning dashboard:

So, a drawio graphic in behind is with values prior Import and values on black background are screenshots from respective panels. They match, yet, graph #2 and #3 are switched places. And I am 3rd hour in on understanding why on earth this is happening .

Am I building grid correctly (x,y,h,w)?

Apparently, Grafana does not respect gridPos X/Y for each of the panels, and instead, uses oder in panels array to determine placement of panels. Is this expected?