Adding multiple properties from each element of a repeating group to a text

Sorry if the question doesn’t make sense, let me explain.
I have a repeating group that contains a list of 5 profile objects. The profile table has two columns that I need, name and score.

I need to add the top 5 players and their scored to an arbitrary text and I want the names/scores to be next to one another.

For example: “p1_name p1_score, p2_name p2_score, …”

So far, my options are to list all the names first and then all the score, or to manually call each item I need, making 10 calls to display the 2 properties across 5 profiles.

Is there an easier way to do this?
Many thanks

Create a repeating group and set your data type.
Find and Sort the data how you need it (eg score | desc | yes) and limit to top 5 rows.

Set the formatting on your repeating group to wrap horizontally (critical so each element wraps next to each other and doesn’t break onto a new line)

Put a text element inside your RG. Fit width to content. Put “Current cells name current cells score, ” in the text element. Voila!