SebastianMC / obsidian-custom-sort

Take full control over the order and sorting of folders and notes in File Explorer in Obsidian
GNU General Public License v3.0
287 stars 22 forks source link

Bug in edge case? Simplistic multi-level alike sorting support #87

Closed SebastianMC closed 1 year ago

SebastianMC commented 1 year ago

Look at the code 'a-z, created' here Then the implementation here The implementation doesn't seem right, at glance. Definitely the fresh head is needed, and fix this edge case, if needed

SebastianMC commented 1 year ago

A fresh head and an hour of examining the code and unit tests revealed the original intention. To code is correct and intentional, yet because it was hard to understand for me ;-) after a while is an indicator for a required refactoring, or for a change in the requirements here.

The actual work will be carried over under #89. The description of current (confusing) implementation is also there.