Remove legacy sort preference stored in a cookie
More and more sorting preferences are not getting stored in database per user Issues and MRs: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/24198 Projects: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31669 Groups TBD: https://gitlab.com/gitlab-org/gitlab-ce/issues/50803
Because of that, there is no longer need in sorting preference being stored in a cookie.
Once https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31669 is merged, and one/two releases has passed to ensure people started to use sorting preference that is stored in DB - remove SortingPreference#set_sort_order_from_cookie https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31669/diffs#a506f5f25eb2fcf2ce106efd0d38364847046a20_0_50 as it will no longer be used.
This will allow us to remove all of the cookie setting related code from many controllers (issables, epic, roadmaps).