Word order and agreement
In verb–subject–object order, a verb before a plural subject stays singular but agrees in gender.
If the subject comes first, the verb agrees fully in gender and number.
Whatever the order, the verb matches the subject's gender.