diff --git a/app/Livewire/Anime/Songs.php b/app/Livewire/Anime/Songs.php index 6cd76ffc8..5d09b6059 100644 --- a/app/Livewire/Anime/Songs.php +++ b/app/Livewire/Anime/Songs.php @@ -68,8 +68,8 @@ public function getMediaSongsProperty(): Collection } ]) ->get() - ->groupBy('type.description') - ->sortBy(['type.value', 'position']); + ->sortBy(['position']) + ->groupBy('type.description'); } /**