score:8

Accepted answer
var data = products.orderbydescending(x => x.total);

score:2

change:

var productsbygreatestquantity = products.orderby(x => x.total);

to:

var productsbygreatestquantity = products.orderbydescending(x => x.total);

Related Query

More Query from same tag