You don't have any control over the email delivery from your PHP script. The mail()
function only passes the message to your configured transport mechanism and leaves it to handle the delivery however it is configured to. Sorting your mail()
calls by hostname gives you no advantage at all.
On the Postfix end, you might want to read about SMTP connection caching, which seems to pipeline multiple email deliveries over the same connection.