sort the stock items before we display them