File explorer sorts files incorrectly when prefixes with spaces are present

Steps to reproduce

Create two notes, where one’s name is the other’s name followed by a space and some other characters.

E.g.: AAA and AAA BBB

(So here AAA is a prefix of AAA BBB.)

Expected result

In the file explorer, I would expect to see the notes appear in the order AAA, AAA BBB.

Actual result

The notes appear in the order AAA BBB, AAA.


  • Operating system: MacOS 10.14.6
  • Obsidian version: 0.6.4
  • Using custom CSS: gruvbox, but bug is present if that’s disabled.

Additional information

Screenshot showing the problem (and showing that if the space is absent, the problem is absent):

Screenshot 2020-05-31 at 13.30.57

1 Like

Will be fixed in 0.6.6

1 Like