Grocery chains' comparable-store sales have gyrated during the past several years.