Branches are only sortable with push permission
Summary
Without permission to push, the dropdown menu for sorting branches is missing.
Steps to reproduce
Open Branches page of public project without being logged in.
Expected behavior
Display dropdown menu for sort order as for users with push permission:
Screenshots
Current behavior without push permission:
Possible fixes
It looks like, this is fixed in the yet unmerged https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4179/diffs#a2e99e1cb20a8f29c74bbe668420902371db185b_10_7.