Hello,
Sorry to but we didn’t get your concern a bit correctly. Could you please elaborate more with some useful Screenshots for our better understanding.
If you are referring to sorting Products under a Category page automatically then there isn’t an option available for that.
For Sorting, there are default WooCommerce sort options available which are:
Popularity
Average rating
Newness
Price: low to high
Price: high to low
These options by default show under the Filters.
Best Regards