أَعْطَيْتُ زَيْدًا دِرْهَمًا
I gave Zayd a dirham.
The discussion allows some dependents to have a more natural priority, including those more closely linked to the action’s human participants or its communicative focus. The recipient of a gift is not grammatically its agent, yet may be mentioned before the gift.
Do not confuse the syntactic subject with a semantic priority. Zayd remains an object here; the reason for ordering may lie in what matters first to the listener.