ご質問ありがとうございます。
・「I'm sorry, were you in line?」
(意味) すみません、[列に並んで](https://eikaiwa.dmm.com/uknow/questions/138348/) いましたか?
<例文>I'm sorry, were you in line? I just realize you were standing behind me.
<訳> すみません、列に並んでいましたか?今後ろに立っているの気づきました。
参考になれば幸いです。
この場合、次のような言い方ができますよ。
ーDid I butt in front of you?
「私は順番を抜かしてしまいましたか?」
to butt in front of ... で「…の前に割り込む」
ーSorry, did I cut in line?
「すみません、私は列に割り込みましたか?」
to cut in line「列に割り込む」
ご参考まで!