How could I change search result from ascending to descending product ID order?

Created by Chloe Chu, Modified on Tue, 07 May 2019 at 05:31 PM by Nicole Le


I notice when searching from the Fast Order extension, it sorts by ID # and in ascending order, so the very first product ever entered will be the first to show in the list.

Is it possible to simply change that to descending order, so the latest products appear first within the search results?


You could edit this file: app/code/Bss/FastOrder/Model/Search/Save.php

line 173

return $collection;


return $collection->addAttributeToSort('entity_id', 'desc');


For more information about product, please refer Magento 2 Wholesale Fast Order page.

If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions:

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article