What is the logical assignment of attribute rolls based on class?


When rolling a new character for DnD, I roll (SUM 4 * D6) 6 times,

[15, 15, 13, 12, 9, 8]

throw the lowest one away leaving me with 5 numbers.

[15, 15, 13, 12, 9]

If my class is a Barbarian, my primary ability is STR and my saving throw proficiencies are STR and CON

Is it most logical to assign the 15 to STR and 15 to CON and rest don’t matter so much?