Denote for $f(x)$ - some Riemann integrable function. Given a partition $\{x_0 = a, x_1, x_2, \ldots, x_n = b\}$ of $[a, b]$ we define a lower Darboux Sum $\underline{S} = \sum\limits_{i}\min\limits_{x \in [x_{i-1}, x_i]}f(x)(x_i - x_{i-1})$ and respectively an upper Darboux Sum $\bar{S}$.
I see this as a sum of rectangle areas, where sign is only inherited from the value of $f(x)$, while $(x_i-x_{i-1})$ is just the length of the rectangle basis.
What bothers me, is that
the length of the rectangle basis is independent of the direction I'm looking on it (from right or from left), then why does the sign of the integral is not independent of the direction?
i.e., why $$\int\limits_a^b f(x) \mathrm{d}x = -\int\limits_b^a f(x) \mathrm{d}x$$