Hi,
I took your action and updated it slightly, and it;'s now on the ecosystem.
the action is called: SetSortingGroupProperties
Check it out and see how I edited it, basically, you can use ComponentAction<> class to override and make component access easier and reliable with less code.
I also made similar actions for control the renderer component layer itself as well. RendererSetOrderInLayer and RendererSetSortingLayer
thanks for your input!