You can test this easily with plain arrays in any environment (browser, Node.js, Jest).
Top-performing products purchased by many customers.
Price:
Order ID: