Allow to sort wiki pages by date and title
What does this MR do?
It's a backport for CE version https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25365
It's a backport for CE version https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25365