customize the sorting of WooCommerce products

I want to customize the sorting of WooCommerce products so that the products with a specific word in their title come first and then the rest of the products.

I added an option to the WooCommerce sorting list and set it as default