on close observation it is obvious that g(y)= f inverse (y).
so g is also non decreasing because f inverse is non decreasing (as f in non decreasing)
the only problem we face is when f(x) becomes constant in part of its domain (it cant be constant throughout). because at those points inverse is not possible.
check from graph that if for a particular point on x axis say y1, if f(x1)=y1 such that 0<a<x1<b<1 and f is constant in between (a,b) . then g(y1) becomes = a. and g(y1+ϵ)>b . so g remains non decreasing.
similarly when 0<a<y1<b<1 and f is constant in between (a,b): let f(x')=y1. now g(y1) will always be x' ∀ 0<a<y1<b<1. here g behaves like a constant function.
basically seeing all these behaviour its obvious that g is always non decreasing
PS: all these point a,b,x1,y1,y etc are points on x axis.
---
"You don't have to believe in God, but you should believe in The Book." -Paul Erdős