Coordinates switched (lon-lat) when using an xarray dataset not created by pygmt.xyz2grd

I started looking for something equivalent to -: (or -i1,0), though this doesn’t apply to grids with GMT. But I did find xarray.DataArray.transpose() which seems to get me where I need to be:

# da.T
# da.transpose("lat", "lon", ...) # if there are more dimensions
print(f"grdinfo on da.T: {pygmt.grdinfo(da.T, spacing=0.1)}", end="")

Output:
grdinfo on da.T: -R-70.2/-70/19/19.2

So, is this as simple as making sure that any xarray.DataArray passed to pygmt has coordinates in this order (lat, lon, ...)?