If you attack with griffins and another army (e.g., archers), then, of course, your archers will move first, and then your griffins (after the guard's turn).
What principle determines the change in turn priority for units with the same speed in different situations?