Passing additional variables to a query

If you’re running a custom query like $blog_query, add them right in. If you are wanting to change the main query, use the pre_get_posts action to alter the function.

add_action( 'pre_get_posts', 'alter_blog_order' );
function alter_blog_order( $query ) {
    if( $query->is_main_query() and $query->is_post_type_archive( 'post' ) ) {
        $query->set( array( 'orderby' => 'post-title', 'order' => 'ASC' ) );
    }
}