Typically fees are paid together. Most don't separate sponsor fee and applicant fees. It's paid in a one time stint.
And yes, it is recommended to pay the rprf upfront. It causes delays when people wait for the visa office to tell them to pay it. If you have the money, pay the $1040 for all fees upfront and together.