
Fitness Components of basketball
The component of fitness you didn't ask us to rank is agility - the ability to change speeds and levels quickly. Probably ranks as #1 overall.
Agility - defensively adjusting to offensive moves - lateral quickness, close-out and retreat. Creating a lead offensively, chnage of direction, cross-over.
Power - explosive jumping - rebounding, dunking, accelerating to fill the lane.
Speed - filling the lane, retreating on D
Strength - holding your ground on the block, offensively or defensively, boxing out (although strictly spekaing this is about power rather than strength).
Endurance - all of the above into the second half, into the third successive full-tilt trip down the floor.
Flexibility - full range of motion for stretch rebound, block shot, slipping on the floor!!
I know your plans didn't include me... but I answered anyway!

1 - endurance
2 - strength
3 - speed
4 - power
5 - flexibility
These rankings are based on building blocks of fitness as opposed to absolute requirements. Without endurance there is no recovery and you are a one-possession player (an extreme analogy but makes the point).
Without strength there is no speed or power (strength applied rapidly) so you need a fundemental level of strength to create speed or power.
Without flexibility there is less movement. The absolute flexibility requirements of basketball are minimal as the court is so small that rarely, if ever, are muscles able to reach their maximum length.
If one assumes that all pre-conditions exist for the attainment of others then the order would be more like:
1 - power
2 - speed
3 - strength
4 - endurance
5 - flexibility

Ahh okay
1- endurance
2- flexibility
3 - power
4- speed
5 - strenth

Depends , if your lookin at just one game or an 82 game NBA season or a world championships ,
for NBA
: endurance and flexibiltiy would be much higher as prevention of injury and decreasing recovery time are essential in a short turnaround !
But the. Speed strength and power would depend on position I'd say but if good at all would be bonus .
