Hello,
I guess there are many ways to achieve this effect. However the most straight forwards might be just with the use of Layout TOP Even though this wouldn’t automatically divide and rotate your video, you can prepare the Layout TOP inputs in the way you need, and let it just composite them in a grid. Replicator COMP could greatly help you with setting up such inputs.
(following image shows just a concept of Layout TOP)
I have stumbled upon component made by @DavidBraun that could help you get the desired effect with much easier and cleaner setup. Check you his github repo for more info - (GLSL_Cell_Rotate.tox)