Turn order help in turn based JRPG combat system

I am interested in developing a simple JRPG combat system inspired by Earthbound. I want the turn order to be determined based on the character’s speed stat. However, I am currently struggling to understand how to organize this turn order effectively.

I have been following a tutorial series to aid my understanding, which I have included a link to below. This tutorial has been immensely helpful in getting me started, and I have already established all of my character stat variables (including speed) within a Unit Base Character Class, as well as my battle system within a combat Game Mode.

My current approach involves connecting the character array into a for each loop, but I am uncertain about where to go from there. I feel a bit lost, but I am hopeful that someone can guide me in the right direction. Any assistance would be greatly appreciated :slight_smile:

Link to tutorial series: Unreal Engine 4 Tutorial - JRPG Part 4: Action Menu - YouTube

Game Mode Blueprint: