Diana you must change line of code in this array
$args = array(
'exclude'=> $admin_users_list,
'number' => $limit,
'orderby' => 'registered',
'order' => 'desc',
'meta_query' => array(
'relation' => 'AND',
0 => array(
'key' => 'upme_user_profile_status',
'value' => 'ACTIVE',
'compare' => '='
),
1 => array(
'key' => 'upme_approval_status',
'value' => 'ACTIVE',
'compare' => '='
),
2 => array(
'key' => 'upme_activation_status',
'value' => 'ACTIVE',
'compare' => '='
)
)
);
This line 'orderby' => 'registered',
you will change registerd to 'name'
so this line would look like this 'orderby' => 'name',
and also change this line from desc to asc 'order' => 'desc',
change it to 'order' => 'asc',
.