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
sim6/gitlab-issue-sort-mergerequest-changes!1 (diffs)
See also isard/isardvdi!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
Output of checks
This bug happens on GitLab.com
Edited by Simó Albert i Beltran