Replaces hard coded texts by translatable ones on the branches page. This also affects all other places using the SortingHelper.
SortingHelper
closes https://gitlab.com/gitlab-org/gitlab-ce/issues/32797