Martins’s solution is definitely more robust and thorough, but to me, both have applications in different settings and depending on your level of expertise. I could use yours if I want a quick-fix solution.
And that is true, I could select all the closed curves at once but I just could not figure out how to sort curves and assign different radii to them