Skip to content

[Bug]: Task sort order no longer respected across swimlanes #2256

Description

@tsweezy

Bug Description

Previously, the order of swimlanes was controlled by the global Bases sort order. I used this in combination with the daysUntilDue formula to bring upcoming tasks to the top of the board no matter the project. As in, the most near upcoming task would bring its entire project swimlane to the top of the board.

Some time recently, this behavior changed. The order of the swimlanes now remains static no matter the Bases sort order, as seen below:

Sorting without swimlanes:
Image

Sorting with swimlanes:
Image
Here I would expect the project b swimlane be brought to the top of the board based on the sorting logic and task 2's due date .

The above screenshots were created on a fresh vault for the purpose of this issue.

I understand that there were changes to allow a custom swimlane order via JSON, but I can't determine for myself whether this enables sorting behavior in the same way. If so, an update to the site documentation and an example here would be greatly appreciated.

Steps to Reproduce

  1. Create Kanban view with sorting on daysUntilDue
    • See that the tasks are sorted accordingly
  2. Add projects to the Swim Lane section of the view configuration
  3. See that swim lane order does not change when due dates on tasks are altered. Only sorting within each swimlane is affected.

TaskNotes Debug Info

SYSTEM INFO:
	Obsidian version: 1.13.7
	Installer version: 1.9.14
	Operating system: Darwin Kernel Version 24.6.0: Tue Jul 21 20:50:11 PDT 2026; root:xnu-11417.140.69.711.44~1/RELEASE_ARM64_T6041 24.6.0
	Login status: logged in
	Language: en
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: TaskNotes v4.12.4

RECOMMENDATIONS:
	Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Affected Task Frontmatter

Relevant Bases File Content

views:
  - type: tasknotesKanban
    name: Kanban Board
    groupBy:
      property: status
      direction: ASC
    order:
      - status
      - priority
      - due
      - scheduled
      - projects
      - contexts
      - file.tags
      - blockedBy
      - recurrence
      - complete_instances
      - file.tasks
    sort:
      - property: formula.daysUntilDue
        direction: ASC
    config:
      columnWidth: 280
      hideEmptyColumns: false
    swimLane: note.projects
    hideEmptySwimLanes: false

Relevant Settings or Customizations

No response

Console Errors or Logs


Screenshots or Screen Recording

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions