I want to sort product search result by in stock and then show out of stock products. Currently my search result is mixing in stock & out of stock items. Please help to fix it.
https://github.com/MaximusDecimus/ShowInStockFirst This may Help You. Also try by creating event/observer Sort Product List to show Out of Stock items after in stock items with magento 1.8