Sold out products always at the end.
This plugin puts products which are sold out always at the end of the listing and search results and also shows a sold out badge.
Installation
composer require sas/product-sold-out-to-end
Configuration
Make sure you enabled the Clearance sale
for the product
Storefront View