No, they are saying sorry before they actually do anything, but presumptive isn't it? They should say excuse me, then say thank you when you oblige. Sorry is what you should say when an inconvenience has been caused.
They are causing you an inconvenience by asking you to stand for a moment while they get past.
Thus, "sorry." Saves two separate sentences of excuse me and then thanks or sorry.