diff --git a/file/lib/data/user/UserAction.class.php b/file/lib/data/user/UserAction.class.php index 938dba0..fabf769 100644 --- a/file/lib/data/user/UserAction.class.php +++ b/file/lib/data/user/UserAction.class.php @@ -63,6 +63,7 @@ public function validatePrepareInvite() { public function prepareInvite() { $followingList = new \wcf\data\user\follow\UserFollowingList(); $followingList->getConditionBuilder()->add('user_follow.userID = ?', array(WCF::getUser()->userID)); + $followingList->sqlOrderBy = 'username ASC'; $followingList->readObjects(); $users = $followingList->getObjects();