A function $f:\mathbb{R}\rightarrow\mathbb{R}$ is a BV function if there exists $M<\infty$ for which $$\sum_{k=1}^N|f(x_k)-f(x_{k-1})|\leq M$$ for every sequence $x_0<x_1<\ldots<x_N$ and every $N$.
I want to show that a BV function $f$ is continuous except at countably many points, and to identify a left-continuous function $g$ that agrees with $f$ at all but countably many points.
(Note: Left-continuous means that $\lim_{x\rightarrow a^-}f(x)=f(a)$.)
Suppose $f$ is discontinuous at uncountably many points. How can I choose $x_0<x_1<\ldots<x_N$ such that $\sum_{k=1}^N|f(x_k)-f(x_{k-1})|$ is larger with each choice of $x_0,\ldots,x_N$.