sort by quantity