In WordPress 4.0+ WP_Query
argument orderby
accepts arrays, so posts can be ordered by multiple keys and orders.
In example
In WordPress 4.0+ WP_Query
argument orderby
accepts arrays, so posts can be ordered by multiple keys and orders.
In example