In the following expression of Lagrangian in General Relativity :
$$S=\int d^{4} x \sqrt{-g}\left(\frac{R}{16 \pi G}+\mathcal{L}_{\mathrm{M}}\right)$$
I understand that we can write for example :
$$c\,dt\,dx\,dy\,dz = \text{det}(J)\,c\,dt\,dr\,d\theta\,d\phi=\text{det}(J)\,d^4x$$
with $J$ the Jacobian between $(ct,x,y,z)$ and spherical coordinates.
Now, I wonder if, in the expression of this Lagrangian above, the default system of coordinates (I mean the starting space) considered is always $ct, x, y, z$.
Indeed, if this system of coordinates is always taken by default, then, I can always have invariance by writting :
$$c\,dt\,dx\,dy\,dz = \text{det}(J)\,c\,dt\,dr\,d\theta\,d\phi=\text{det}(J)\,d^4x$$
with $\text{det}(J)=\sqrt{-g}$.
So should I always consider $d^4x$ like the ending system of coordinates, and not the starting system (from a Jacobian point of view) ?
Is my understanding correct by saying that $\sqrt{-g}\,\,d^4x$ is always equal to $c\,dt\,dx\,dy\,dz$ ?