Magento 2 custom sort option with elastic search
I have to implement below custom sort options
– Order: A to Z
– Order: Z to A
– Price: Low to High
– Price: High to Low
I have tried with the example given in link.
This is not working with elastic search. I am getting a message
We can’t find products matching the selection.
Please help me if anyone has implemented this.