Project member pagination is broken when sorting
If you visit a project members page, then sort by "access level, descending", there appears to be a problem with the db query or the pagination.
Members will often be repeated on multiple pages, and the order seems inconsistent.
For instance, in
www-gitlab-com's project member page, Sid appears on pages 3, 4, and 5:
|page 3||page 4||page 5|