Sorting by custom field
Permalinkuse Concrete\Core\User\UserList; $list = new UserList(); $list->sortBy('sponsor'); $endlist = $list->getResults();
But it errors out as it can't see the custom field 'sponsor'. Do I need to do this another way?
$list->sortBy('ak_sponsor');
Are you creating the custom field with code or in the concrete5 UI?