fix(store): show error when state initialization order is invalid
#2066

arturovt wants to merge fix/invalid-order-error into master

We do not currently have an analysis of these two commits