Yes, in a hypothesis, the independent variable typically comes first. The independent variable is the factor that is manipulated or changed in an experiment to observe its effects on the dependent variable, which is the outcome being measured.
For example, if you were testing the effect of different amounts of sunlight on plant growth, the amount of sunlight would be your independent variable. Your hypothesis might state, ‘If the amount of sunlight increases, then the growth of the plants will increase.’ Here, the independent variable (amount of sunlight) is clearly positioned at the start, indicating that it is what you are changing to see how it affects the dependent variable (plant growth).
Structuring your hypothesis this way helps clarify the relationship you are investigating and sets a clear direction for your experimental design.