Sort branches by commits ahead or behind
### Description
Sort branches by commits ahead or behind
### Proposal
Add new sort option to the branches index view to order branches according to how far ahead or behind of the default branch they are, by number of commits
### Documentation blurb
#### Overview
What is it?
New sort options for the branches index view
Why should someone use this feature?
This feature would be used by users looking to find stale/old branches
How do you use this feature?
Select new options from the dropdown to order branches
#### Use cases
Who is this for? Provide one or more use cases.
This feature would be used by users looking to find stale/old branches
### Feature checklist
Make sure these are completed before closing the issue,
with a link to the relevant commit.
- [ ] [Feature assurance](https://about.gitlab.com/handbook/product/#feature-assurance)
- [ ] Documentation
- [ ] Added to [features.yml](https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/data/features.yml)
issue