The analysis sometimes distinguishes the semantic agent from the overt grammatical subject. What matters rhetorically is the person to whom the act is attributed, even when the surface structure does not place that person after a finite verb.
«أنا قمت»
I stood up. Here “أنا” is a nominal subject, while the tāʾ in “قمت” marks the grammatical actor within the verbal predicate. They refer to the same person; the initial independent pronoun may reinforce or contrast the attribution.
«قمت أنا»
I stood up, with an overt reinforcing pronoun after the verb.
A proper reading needs both syntax and information structure, not simply a count of which word came first.