Replace another use of toSorted

5e24ae4db2c0a1aff552193e8f5c7ee8d9f74941

Tucker McKnight <tucker@pangolin.lan> | Sun Feb 01 2026

Replace another use of toSorted
js_templates/common/branchesListItems.ts:4
Before
4
  return branches.toSorted((a, b) => {
After
4
  return branches.sort((a, b) => {
main.ts:202
Before
202
    const sortedByDirectory = withNameAndDirAttrs.filter(onlyUnique).toSorted((a, b) => {
After
202
    const sortedByDirectory = withNameAndDirAttrs.filter(onlyUnique).sort((a, b) => {