By default the Elementor archive posts widget does not have a query setting so using this snippet orders the archive content by name.
How to Setup Snippet
Run snippet everywhere.
function order_archive_posts( $query ) {
// exit out if it's the admin or it isn't the main query
if ( is_admin() || ! $query->is_main_query() ) {
return;
}
// order category archives by title in ascending order
if ( is_post_type_archive() ) {
$query->set( 'order' , 'asc' );
$query->set( 'orderby', 'title');
return;
}
}
add_action( 'pre_get_posts', 'order_archive_posts', 1 );