Help with ui list

so im trying to make a leaderboard where players are grouped under pirates or marines, everything works however, the UI is a bit missed up, I have a frame, where by there is a UiListLayout inside by which there are 2 textlabels named pirate and marines, I also have another UiListLayout within those to. I’m trying to make it so that there is a list within a list.

image
this is how it looks like even when player name GUI is under pirate

You could simply modify the LayoutOrder property. What you can do is have the titles have a LayoutOrder of 1 and 3 respectively and have the player labels have a LayoutOrder of 2 and 4.