I found a useful utility for EndeavourOS to edit the GRUB file. It's called grub-customizer and can be easily installed via pacman. It's also available for other distros.
If you're interested:
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!