Fix outline panel issues in a multi-worktree set-up (#24538)

Closes https://github.com/zed-industries/zed/issues/22993

Properly calculates depth and maintains worktree order, when displaying
multiple worktrees in the outline panel.

Release Notes:

- Fixed outline panel issues in a multi-worktree set-up
cf74d653bdKirill Bulatov committed on 2/9/2025, 9:29:29 PM· committed by GitHubparent8f1ff18
1 file changedLine totals unavailable