Victor Rae was branded a "danger to the public" after escalating his crimes from public indecency to sexual assault.