Need some help understanding hierarchy of investment…

My understanding is it should go in this order, as I am self employed / 1099:

Emergency Fund - 12 Months in Bank at all times Solo 401k - maxed out at 23,000 a year Roth IRA- 7,000 Spousal - Roth IRA- 7,000 Family HSA- 8,500 VOO- Remaining funds

Am I missing anything?