Can two commuting (composition of the functions satisfies commutativity) with $f\ne g$ and both $f$,$g$ increasing functions on $[0,1]$ both be discontinuous on the set of rationals?
Context: I had recently asked (and subsequently removed) a question on the cardinality of the set of commuting functions. That question turned out trivial as pointed by @ChrisEagle. The curiosity orginates in a paper by Ritt (1923) that characterizes polynomials that commute and subsequently the literature on fixed points of commuting maps. While continuity is assumed by default on such maps, and it is not hard to come up with commuting maps that are discontinuous, I was unable to come up with an example of commuting maps with countable discontinuities or prove that they cannot exist.