Added sort by quantity for stock balance.