Find the bugs: Top two products by units sold

A store wants to find the two products with the highest number of units sold. The number of units sold is stored in quantity, so you need to sum the quantities across all order items. If two products have the same total, the product whose name comes first alphabetically should rank higher. The query runs, but the sales totals are incorrect. Where's the mistake?

Find the errorsDuplicates and top NMiddleAnalystData EngineerBackend
Input data · iv_order_items
idorder_idproductquantityprice
11pen102.00
21notebook110.00
32pen14.00
43notebook510.00
53bag150.00
64pen23.00
75pen310.00
87bag260.00
98notebook240.00
SELECT product, SUM(quantity) AS units
FROM (
  SELECT product, quantity
  FROM iv_order_items
  ORDER BY quantity DESC, id ASC
  LIMIT 2
) AS selected_items
GROUP BY product
ORDER BY units DESC, product