Variation Sorting on archive page

Hello, I am using the free version but I have an issue with the sorting of the products in the category page. I need to be able to sort the parents and then the variations. For example let’s say I have Product A that has 3 variations, Product B that has 2 variations, and Product C that have 5 variations.
I can arrange the “parent” products using the default sorting. Now this order is Product C, Product B, and Product A.
In the category page, I display only the variations C.1, B.1, A.1, C.2, B.2, A.2, C.3, A.3, C.4, C.5
But I want them to be C1-C2-C3-C4-C5-B1-B2-A1-A2-A3
I also have changed the product variation order, so the dates created are in random order.
Is this possible?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer