Hello Alex and welcome back 🙂
Can you copy/paste the following snippet and replace the code you provided in your functions.php file and let me know if events are sorting alphabetically in photo view. Please test the code using the default WP theme and only our plugins activated.
Let me know if it helps and thanks for choosing PRO!
add_filter( 'pre_get_posts', 'tribe_change_event_order', 99 );
function tribe_change_event_order( $query ) {
if ( tribe_is_past() || tribe_is_upcoming() || tribe_is_photo() ) {
$query->set( 'orderby', 'title' );
$query->set( 'order', 'ASC' );
}
return $query;
}