In a multidimensional array, to create additional arrays with letters?

The essence of the problem lies in the sorting of data that have master data in the form of letters. In fact I have this array here:
array (12) [
 array (1) [
 array (1) [
 'LiterA' => array (1) [
 array (6) [
 '_type' => string (12) "mesta_i_balu"
 'group' => string (1) "A"
 'player' => string UTF-8 (12) "I player 1"
 'player_ochki' => string (1) "2"
 'player_omesto' => string (1) "2"
 'sdstudio_player_id' => string (5) "10110"
]
]
]
 array (1) [
 'LiterA' => array (1) [
 array (6) [
 '_type' => string (12) "mesta_i_balu"
 'group' => string (1) "B"
 'player' => string UTF-8 (15) "no player 2"
 'player_ochki' => string (1) "0"
 'player_omesto' => string (1) "3"
 'sdstudio_player_id' => string (5) "10106"
]
]
]
]
]


Cause that's such soderzhimogo:

array (1) [
 array (1) [
 'Litera_group' => array (1) [
 array (6) [
 'Litera' => string (12) "A"
]
 'Liters' => array (1) [
 array (6) [
 '_type' => string (12) "mesta_i_balu"
 'group' => string (1) "A"
 'player' => string UTF-8 (12) "I player 1"
 'player_ochki' => string (1) "2"
 'player_omesto' => string (1) "2"
 'sdstudio_player_id' => string (5) "10110"
]
]
]
]
 array (1) [
 'Litera_group' => array (1) [
 array (6) [
 'Litera' => string (12) "B"
]
 'Liters' => array (1) [
 array (6) [
 '_type' => string (12) "mesta_i_balu"
 'group' => string (1) "B"
 'player' => string UTF-8 (15) "no player 2"
 'player_ochki' => string (1) "0"
 'player_omesto' => string (1) "3"
 'sdstudio_player_id' => string (5) "10106"
]
]
]
]
 ]
March 19th 20 at 09:08
1 answer
March 19th 20 at 09:10
Solution
It is not necessary to answer this question!
The author knows the answer, he will write and will mark it as always (see the history of answers).
Do not feel sorry for rating)))
But not for ratings I'm here. Can help, thank you. Can't pass by. - Ana.Thomps commented on March 19th 20 at 09:13
@Ana.Thomps, then in order for jiving rrero :) - kennedi.Bergstrom27 commented on March 19th 20 at 09:16
:) - Ana.Thomps commented on March 19th 20 at 09:19
Hmm... it is not true, but it happened just like You said ) - Ana.Thomps commented on March 19th 20 at 09:22

Find more questions by tags PHP