Es una lástima que tengas que marcharte ya.

English Translation

Too bad you have to leave already.

Wouldn’t it be more natural to reorder the words as Es una lástima que ya tengas que marcharte? Or ya at the end sounds natural as well?