I just told the cashier about one behind me. She took care of alerting her to move back and to wait for her turn.
Also, some shoppers were in a hurry! I just ignored them and also pointed my hand pointing back when they saw me.
At the bottom line, let the employees handle the disrespectful consumers!