we are using following extension in our site....
1)Search extension : https://mirasvit.com/magento-extensions/sphinx-search-ultimate.html . From this we can implement feature that if we search for Product all the In-stock products will display first and than out-of-stock products. Everything was fine.
Later we wanted to implement following feature.
2)Displaying out-of-stock products at last in the listing pages. : https://github.com/r-martins/Magento-OutOfStockLast .
This worked fine. But Problem happened to first feature, Means after using 2nd extension, when we search for product, than in-stock & out-of-stock products are displaying randomly.
this is our search results page : http://videomergerapp.com/catalogsearch/result/?q=hot+wheels
when we debug this page , i can see SQL query and results: http://videomergerapp.com/catalogsearch/result/?q=hot+wheels&debug
i can see all the product ids with all in-stock product ids are displaying first and than out-of-stock products ids are displaying.
but in site [ listing page ] in-stock & out-of-stock products are displaying in random order.
Please help me what i need to do for working both features in one site.