If you select one thing, then another thing, and then group the objects, the last things u selected are going to automatically be brought to the front, and the first things to back.
This problem doesn’t happen only when u shift-click to select more than one thing.
This problem might be related to the fact that the clip is brought to front when you turn it into a clip.