Mergerequest modified files are ordered differently in the tree view than in the change list
### Summary Mergerequest modified files are ordered differently in the tree view than in the change list. ### Steps to reproduce Create a mergerequest with changes on paths like `foo-bar/file` and `foo/bar/file`. ### Example Project https://gitlab.com/sim6/gitlab-issue-sort-mergerequest-changes/-/merge_requests/1/diffs See also https://gitlab.com/isard/isardvdi/-/merge_requests/514/diffs ### What is the current *bug* behavior? Mergerequest modified files are ordered differently in the tree view than in the change list. ### What is the expected *correct* behavior? Mergerequest modified files tree view and change list should use the same criteria to order the files. ### Relevant logs and/or screenshots ![20211120_07h12m12s_grim](/uploads/ed526ae9b8bf1b37faea4c24bb5d6cb7/20211120_07h12m12s_grim.png) ![20211120_06h18m36s_grim](/uploads/b9fcf29942944a446315142d4a09ba2e/20211120_06h18m36s_grim.png) ### Output of checks This bug happens on GitLab.com
issue