At the moment sorting by priority or popularity is not possible and raises 500 error
This MR fixes it
https://gitlab.com/gitlab-org/gitlab-ee/issues/10649