Cordelia in season 5 (SPOILERS)

So i got to cordy's death and im like sooo annoyed rn. Ik this has probably been talked about before but I'm a first time viewer but they just swept her under the rug like nothing. No one even grieved its like Anya's death all over again where they just say "aww" and then that's it. It's also frustrating how impactful they made Fred's death and not Cordy's considering shes been there since the pilot of angel AND buffy. I know there was tension between Joss and Charisma bc she got pregnant or whatever but I'm just so disappointed in cordy's writing in season 4 and 5.