Skip to content

Magento 2.3.6 Add Custom Sort For Product Graphql

I want to sort the products graphql with backorder and is_in_stock attribute. Please let me know if anyone has any solution for it.
I tried with quantity_and_stock_status it is applied only on qty.