add sort by quantity for portfolio