Sorting products by popularity on the category screen

Designed to sort the list of provided products from one category by popularity.
🚧 The algorithm always returns the products that were transferred to it. If there are no recommendations, the result will be the original sequence
🚧 The algorithm does not take into account the availability of products

Language
Click Try It! to start a request and see the response here!