Updating home assistant, which should I update first?

Hi, both the “home assistant core” and “home assistant os” has new updates in my system. To be safe, which should I update first, core or OS?
Thanks

It does not matter.

e.g. Which would you update first, Windows OS or a program that runs on Windows?

Just make sure you have a backup saved and transferred off your system before you start.