Show direct match on top for user search (#17303)
Show direct match on top for user search (#17303)

This PR makes sure that direct matches in the user search always show on top of the result list.

The following places were checked to follow the desired behavior now:
- Search when adding a user to a team
- Search when adding a user as a collaborator to a repository

Signed-off-by: Maximilian Weiler <11aeb223ad325e3692f3d407cae8161d99464bbe@users.noreply.github.com>
go-gitea/gitea,go-gitea/gitea,go-gitea/gitea