select "products".productline AS "products_line", SUM("orderfact".totalprice) AS "orderfact_totalprice", SUM("orderfact".quantityordered) AS "orderfact_quantityordered" from orderfact "orderfact", products "products", timeline "timeline" where "orderfact".productcode="products".productcode AND "orderfact".time_id="timeline".id AND "timeline".year_nb=2010 group by "products".productline order by "products_line", "orderfact_totalprice", "orderfact_quantityordered"