As far as I’m aware, you are not meant to do wudhu after ghusl janabat according to Sayyid Sistani. What if you do wudhu and remember after the wudhu but before you pray that you had done ghusl of janabat?

It does not harm your ghusl.