Zend certified PHP/Magento developer

custom sorting is not working in magento 2.4.3 p1

enter code hereI am created a custom sorting in magento2.4.3p1 but it is not working in the frontend.
I am face issues is
We can’t find products matching the selection.

Toolbar.php
<?php
namespace Bay20SortingPluginProductProductList;
class Toolbar
{
    /**
    * Plugin
    *
    * @param MagentoCatalogBlockProductProductListToolbar $subject
    * @param Closure $proceed
    * @param MagentoFrameworkDataCollection $collection
    * @return MagentoCatalogBlockProductProductListToolbar
    */
    public function aroundSetCollection(
        MagentoCatalogBlockProductProductListToolbar $toolbar,
        Closure $proceed,
        $collection
    ) {
        $this->_collection = $collection;
        $currentOrder = $toolbar->getCurrentOrder();
        $currentDirection = $toolbar->getCurrentDirection();
        $result = $proceed($collection);

        if ($currentOrder) {
            switch ($currentOrder) {

            case 'newest':
                $this->_collection
                    ->getSelect()
                    ->order('e.created_at DESC');
            break;

            case 'oldest':
                $this->_collection
                    ->getSelect()
                    ->order('e.created_at ASC');

            break;

            case 'price_desc':
                $this->_collection
                    ->getSelect()
                    ->order('price_index.min_price DESC');
            break;

            case 'price_asc':
                $this->_collection
                    ->getSelect()
                    ->order('price_index.min_price ASC');
            break;

            case 'name_az':
                $this->_collection
                      ->addAttributeToSort('name', 'asc');
            break;

            case 'name_za':
                $this->_collection
                    ->addAttributeToSort('name', 'desc');
            break;

            default:        
                $this->_collection
                    ->setOrder($currentOrder, $currentDirection);
            break;

            }
        }
 
        return $result;
    }
}

Also I have created config.php
<?php
namespace Bay20SortingPluginModel;

class Config
{
    /**
     * Adding custom options and changing labels
     *
     * @param MagentoCatalogModelConfig $catalogConfig
     * @param [] $options
     * @return []
     */
    public function afterGetAttributeUsedForSortByArray(MagentoCatalogModelConfig $catalogConfig, $options)
    {
        //Remove default sorting options
        /*unset($options['position']);
        unset($options['name']);*/
        unset($options['price']);

        //Change label of default sorting options if needed
        //$options['position'] = __('Relevance');

        //New sorting options
        $options['price_desc'] = __('Price High - Low');
        $options['price_asc'] = __('Price Low - High');
        $options['newest'] = __('Newest');
        $options['oldest'] = __('Oldest');
        $options['name_az'] = __('Product Name A - Z');
        $options['name_za'] = __('Product Name Z - A');

        return $options;
    }
}

etcdi.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <type name="MagentoCatalogModelConfig">
        <plugin name="Bay20_Sorting::addCustomSortOptions" type="Bay20SortingPluginModelConfig" />
    </type>
    <type name="MagentoCatalogBlockProductProductListToolbar">
        <plugin name="Bay20_Sorting::implementCustomSortOptions" type="Bay20SortingPluginProductProductListToolbar" />
    </type>
</config>