Tellraw Stuff help!!! 1.21.4

Hi, so I am making something in from D&D in Minecraft, and how I am making it requires tellraw commands. How I have it, it starts with this:

tellraw @s [{"text":"str","clickEvent": {"action": "run_command","value": "/function dnd:create_character/as/str/15"}},"\n",{"text":"dex","clickEvent": {"action": "run_command","value": "/function dnd:create_character/as/dex/15"}},"\n",{"text":"con","clickEvent": {"action": "run_command","value": "/function dnd:create_character/as/const/15"}},"\n",{"text":"int","clickEvent": {"action": "run_command","value": "/function dnd:create_character/as/int/15"}},"\n",{"text":"wis","clickEvent": {"action": "run_command","value": "/function dnd:create_character/as/wis/15"}},"\n",{"text":"cha","clickEvent": {"action": "run_command","value": "/function dnd:create_character/as/cha/15"}}]
``` and the function 15 for each runs a new function, doing practically the same thing, except instead of 15, its 14. I have them in different tellraw commands after this, so I can check the scores prior. My problem is after 14. I want it to let me pick 13, but I can't figure out a way to check everything behind it(i.e: cha=15, dex=14) so I don't have my current issue, where in my example, if **cha** is first, and **dex** is second, **cha** pops up again. if ur confused I will try and help u understand. if u want me to send the function with the problem, tell me. ping with response
Continue to help post