The order of the product IDs here will also determine the order in which the product's are displayed on the checkout page.
Instead, you can use WooCommerce shortcodes to list one or more products literally
For this option to work you will need one more cronjob, command is:
By default, the sort order for your products is “Custom Ordering +
They should also work within any theme with WooCommerce installed.
I posted here: https://wordpress.org/support/topic/product-shortcode-in-
Do I need to specify what to order it by in the shortcode as well?
If it's not there then it retrieves the default sort order set in WC.
This doesn't happen with the built in sorting options like price or average rating.
Learn how to use WooCommerce shortcodes to customize your online