I have simple and configurable products on listing page.
I am using
special_price attribute for sorting. It is working for simple products but not working for configurable products.
I have assigned special_price for all associated products of configurable products but still it is not sorting.
I am using Magento 2.3.0. Can anyone suggest how can I do?