It is the way it
should be IMO.
Because choice of race isn't random and player's can arrange ability scores to choice (making them "not random" either).
IRL, we don't get a choice of who are birth parents were, or what our genetic strengths and weaknesses are. Sure, we can do things to becomes stronger or smarter (working out, studying, etc.), and so on.
My preferred method is:
1. random ability scores IN ORDER
2. random race roll (adjust ability scores given race modifiers)
3. choose background that supports concept
4. "build" ability score changes to support class (take 2 from A, add 1 to B)
5. choose class, proficiencies, spells, etc.
6. buy equipment
7. PLAY!