Skip to content

Remove redundant file sorting in FoldersController - #477

Merged
arukompas merged 1 commit into
mainfrom
refactor/remove-redundant-file-sorting
Oct 17, 2025
Merged

Remove redundant file sorting in FoldersController#477
arukompas merged 1 commit into
mainfrom
refactor/remove-redundant-file-sorting

Conversation

@arukompas

Copy link
Copy Markdown
Contributor

Summary

  • Replaced sortByEarliestFirstIncludingFiles() with sortByEarliestFirst()
  • Replaced sortByLatestFirstIncludingFiles() with sortByLatestFirst()
  • File sorting is already handled by the loop on lines 41-56, making the IncludingFiles methods redundant

Test plan

  • All 273 tests pass
  • Feature tests verify folder and file sorting behavior remains unchanged

@arukompas arukompas self-assigned this Oct 17, 2025
@arukompas
arukompas merged commit 011c3cd into main Oct 17, 2025
26 checks passed
@arukompas
arukompas deleted the refactor/remove-redundant-file-sorting branch October 18, 2025 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant