Online grocery sales have fluctuated since booming in 2020, but they appear poised for continued growth, with delivery taking the lead.