Question: Consider a triple integral of the following form \begin{equation} \int_{x=0}^1 \int_{y=0}^{1} \int_{z=0}^{1} f(x,y,z)dzdydx. \end{equation} Because of the specific $f(\cdot,\cdot,\cdot)$ function I am dealing with, I would like to convert the above integral into the following form \begin{equation} \int_{x=0}^1 \int_{y=0}^{x} \int_{z=0}^{y} g(x,y,z)dzdydx, \end{equation} where $g(\cdot,\cdot,\cdot)$ is an appropriately defined function. This form is easier to work with because the integrands are nicely ordered as $x\ge y \ge z.$
Example: I am able to do a similar trick for a double integral. Consider \begin{equation} \int_{x=0}^1 \int_{y=0}^{1} f(x,y)dydx. \end{equation} This integral is equivalent to the sum of two integrals: \begin{equation} \int_{x=0}^1 \int_{y=0}^{1} f(x,y)dydx=\int_{x=0}^1 \int_{y=0}^{x} f(x,y)dydx+\int_{x=0}^1 \int_{y=x}^{1} f(x,y)dydx. \end{equation} By changing the order of the integration in the last integral above, we obtain \begin{equation} \int_{x=0}^1 \int_{y=x}^{1} f(x,y)dydx = \int_{y=0}^1 \int_{x=0}^{y} f(x,y)dxdy. \end{equation} Renaming $x$ as $y$ and vice-versa on the integral in the right hand side, we obtain \begin{equation} \int_{x=0}^1 \int_{y=0}^{x} h(x,y)dydx \end{equation} for an appropriate $h(x,y).$ Thus, the original integral is given as \begin{align} \int_{x=0}^1 \int_{y=0}^{1} f(x,y)dydx &=\int_{x=0}^1 \int_{y=0}^{x} f(x,y)dydx+\int_{x=0}^1 \int_{y=0}^{x} h(x,y)dydx\\ &= \int_{x=0}^1 \int_{y=0}^{x} \left[ f(x,y)+h(x,y) \right] dydx. \end{align}