Files are sorted incorrectly with accented (Swedish) characters

Steps to reproduce

  1. Create a new file named A
  2. Create a new file named B
  3. Create a new file named Ä

Expected result

Files are sorted as A, B, Ä.

Actual result

Files are sorted as A, Ä, B.

Environment

  • Operating system: macOS 11.6.2 (20G314)
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v0.13.19
    Installer version: v0.12.12
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Safe mode: on

RECOMMENDATIONS:
none


Additional information

1 Like

Is you system language set to English or Swedish?

Read this:

Cool, didn’t know English sorted Ä after A.
I have English as language, but Swedish as region. I also found a system setting called “Sort order”, but that didn’t seem to have any effect. (I tried both “Reformed” and “Standard”)

So everywhere I get the Swedish sorting (including Finder and any other apps I’ve seen) and formatting (including temperature unit, number formatting, date formatting), but not in Obsidian.

Where it says ‘Apps’ in your screenshot, does it work if you set Obsidian up as Swedish?

Angel

EDIT: Like this…is it right?

Interestingly, I got a kernel panic when I relaunched… (I added the report below, in case its something you wish to investigate further)

I couldn’t find Swedish in the list, but I tried with Norwegian instead.

It also got stuck a “loading plugins” the second time I tried to relaunch. Quitting and reopening and it was in Norwegian.

It sorts correctly in Norwegian. Just like in your image.

Panic(CPU 2, time 6589357331345): NMIPI for spinlock acquisition timeout, spinlock: 0xffffff86ad2212d0, spinlock owner: 0xffffff86a2f95b20, current_thread: 0xffffff86a2f95b20, spinlock_owner_cpu: 0x2
RAX: 0xffffff86ac584280, RBX: 0xffffff936ae9ebe8, RCX: 0x0000000000000316, RDX: 0x0000358b00000000
RSP: 0xffffffb0d0243aa0, RBP: 0xffffffb0d0243ae0, RSI: 0xffffff86a2f95b20, RDI: 0xffffff936ae9ebe8
R8:  0xffffffb0d0243c60, R9:  0xffffff801bee23a0, R10: 0x0000000000ffffff, R11: 0x0000000000000000
R12: 0xffffff86a2f95b20, R13: 0x0000000000000000, R14: 0x0000358c3d87d6c6, R15: 0xffffff86ac584280
RFL: 0x0000000000000082, RIP: 0xffffff801be9f28d, CS:  0x0000000000000008, SS:  0x0000000000000010
Backtrace (CPU 2), Frame : Return Address
0xffffffa07e090f80 : 0xffffff801bfc372b 
0xffffffa07e090fd0 : 0xffffff801be30bdd 
0xffffffb0d0243ae0 : 0xffffff801be9f394 
0xffffffb0d0243b10 : 0xffffff801bee0bf0 
0xffffffb0d0243b30 : 0xffffff801bee23d9 
0xffffffb0d0243be0 : 0xffffff801bee28d2 
0xffffffb0d0243c50 : 0xffffff801bee194a 
0xffffffb0d0243d10 : 0xffffff801bee5855 
0xffffffb0d0243d50 : 0xffffff801c3f7f44 
0xffffffb0d0243d70 : 0xffffff801c3f802e 
0xffffffb0d0243db0 : 0xffffff801c45171d 
0xffffffb0d0243e30 : 0xffffff801c44cb25 
0xffffffb0d0243ee0 : 0xffffff801c44c951 
0xffffffb0d0243f40 : 0xffffff801c53ebee 
0xffffffb0d0243fa0 : 0xffffff801be311f6 

Process name corresponding to current thread: Obsidian Helper (Renderer)

Mac OS version:
20G314

Kernel version:
Darwin Kernel Version 20.6.0: Wed Nov 10 22:23:07 PST 2021; root:xnu-7195.141.14~1/RELEASE_X86_64
Kernel UUID: C67468D8-72C1-36BC-A0DA-CD5FA852AD32
KernelCache slide: 0x000000001bc00000
KernelCache base:  0xffffff801be00000
Kernel slide:      0x000000001bc10000
Kernel text base:  0xffffff801be10000
__HIB  text base: 0xffffff801bd00000
System model name: MacBookPro11,1 (Mac-189A3D4F975D5FFC)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 6589357369725
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x000005fe344e2cb8
  Sleep   : 0x000003d0e269ea15 0x00000013502e9f9d 0x0000000000000000
  Wake    : 0x000003d0f01c608c 0x00002fe3080fa656 0x000003d0eec54c0b
last started kext at 4196489520448: >!UAudio	405.39 (addr 0xffffff7fb69b2000, size 315392)
last stopped kext at 4395733483734: >!UAudio	405.39 (addr 0xffffff7fb69b2000, size 315392)
loaded kexts:
@filesystems.smbfs	3.6.2
>!AUpstreamUserClient	3.6.8
>AudioAUUC	1.70
@filesystems.autofs	3.0
@fileutil	20.036.15
>!APlatformEnabler	2.7.0d0
>AGPM	122.1
>X86PlatformShim	1.0.0
>!AGraphicsDevicePolicy	6.3.5
@AGDCPluginDisplayMetrics	6.3.5
>pmtelemetry	1
|IOUserEthernet	1.0.1
>!AHDA	283.15
>usb.!UUserHCI	1
|IO!BSerialManager	8.0.5d7
@Dont_Steal_Mac_OS_X	7.0.0
>eficheck	1
>!A!IHD5000Graphics	16.0.5
>!ALPC	3.1
>!AHV	1
>!ADiskImages2	1
>!ASMCLMU	212
>!A!IFramebufferAzul	16.0.5
>!AThunderboltIP	4.0.3
>!A!ISlowAdaptiveClocking	4.0.0
>!ABacklight	180.3
>!ACameraInterface	7.6.0
>!AMCCSControl	1.14
|IO!BUSBDFU	8.0.5d7
>!UTCKeyEventDriver	256
>!UTCButtons	256
>!UTCKeyboard	256
|SCSITaskUserClient	436.140.1
>!UCardReader	511.141.1
>!AFileSystemDriver	3.0.1
@filesystems.tmpfs	1
@filesystems.hfs.kext	556.100.11
@BootCache	40
@!AFSCompression.!AFSCompressionTypeZlib	1.0.0
@!AFSCompression.!AFSCompressionTypeDataless	1.0.0d1
@filesystems.apfs	1677.141.2
>!AAHCIPort	346.100.2
>AirPort.BrcmNIC	1400.1.1
@private.KextAudit	1.0
>!ASmartBatteryManager	161.0.0
>!ARTC	2.0
>!AACPIButtons	6.1
>!AHPET	1.8
>!ASMBIOS	2.1
>!AACPIEC	6.1
>!AAPIC	1.7
@!ASystemPolicy	2.0.0
@nke.applicationfirewall	311
|IOKitRegistryCompatibility	1
|EndpointSecurity	1
@kext.triggers	1.0
>!AGraphicsControl	6.3.5
>DspFuncLib	283.15
@kext.OSvKernDSPLib	529
|IOSerial!F	11
|IOAVB!F	940.4
@plugin.IOgPTPPlugin	985.2
|IOEthernetAVB!C	1.1.0
>X86PlatformPlugin	1.0.0
>IOPlatformPlugin!F	6.0.0d8
|IOAccelerator!F2	442.9
>!AThunderboltDPOutAdapter	8.1.4
@!AGPUWrangler	6.3.5
@!AGraphicsDeviceControl	6.3.5
|IOSlowAdaptiveClocking!F	1.0.0
>!ABacklightExpert	1.1.0
|IONDRVSupport	585.2
>!AHDA!C	283.15
|IOHDA!F	283.15
|IOAudio!F	300.6.1
@vecLib.kext	1.2.0
|IOGraphics!F	585.2
>!ASMBus!C	1.0.18d1
|Broadcom!BHost!CUSBTransport	8.0.5d7
|IO!BHost!CUSBTransport	8.0.5d7
|IO!BHost!CTransport	8.0.5d7
>usb.!UHub	1.2
>!UMultitouch	264
>usb.IOUSBHostHIDDevice	1.2
>usb.cdc	5.0.0
>usb.networking	5.0.0
>usb.!UHostCompositeDevice	1.2
>!AThunderboltDPInAdapter	8.1.4
>!AThunderboltDPAdapter!F	8.1.4
>!AThunderboltPCIDownAdapter	4.1.1
>!ABSDKextStarter	3
|IOSurface	290.8.1
@filesystems.hfs.encodings.kext	1
>!AXsanScheme	3
|IOAHCIBlock!S	332
|IOAHCI!F	294.100.1
>!AThunderboltNHI	7.2.8
|IOThunderbolt!F	9.3.2
|IO80211!F	1200.12.2b1
|IOSkywalk!F	1
>mDNSOffloadUserClient	1.0.1b8
>corecapture	1.0.4
>!A!ILpssGspi	3.0.60
>usb.!UHostPacketFilter	1.0
|IOUSB!F	900.4.2
>usb.!UXHCIPCI	1.2
>usb.!UXHCI	1.2
>!AEFINVRAM	2.1
>!AEFIRuntime	2.1
|IOSMBus!F	1.1
|IOHID!F	2.0.0
$!AImage4	3.0.0
|IOTimeSync!F	985.2
|IONetworking!F	3.4
>DiskImages	493.0.0
|IO!B!F	8.0.5d7
|IOReport!F	47
|IO!BPacketLogger	8.0.5d7
$quarantine	4
$sandbox	300.0
@kext.!AMatch	1.0.0d1
|CoreAnalytics!F	1
>!ASSE	1.0
>!AKeyStore	2
>!UTDM	511.141.1
|IOUSBMass!SDriver	184.140.2
|IOSCSIBlockCommandsDevice	436.140.1
|IO!S!F	2.1
|IOSCSIArchitectureModel!F	436.140.1
>!AMobileFileIntegrity	1.0.5
@kext.CoreTrust	1
>!AFDEKeyStore	28.30
>!AEffaceable!S	1.0
>!ACredentialManager	1.0
>KernelRelayHost	1
|IOUSBHost!F	1.2
>!UHostMergeProperties	1.2
>usb.!UCommon	1.0
>!ABusPower!C	1.0
>!ASEPManager	1.0.1
>IOSlaveProcessor	1
>!AACPIPlatform	6.1
>!ASMC	3.1.9
|IOPCI!F	2.9
|IOACPI!F	1.4
>watchdog	1
@kec.pthread	1
@kec.corecrypto	11.1
@kec.Libm	1
panic(cpu 0 caller 0xffffff801c6a04ed): "Spinlock acquisition timed out: lock=0xffffff86ad2212d0, " "lock owner thread=0xffffff86a2f95b20, current_thread: 0xffffff86ac584280, " "lock owner active on CPU 0x2, current owner: 0xffffff86a2f95b20, time: 6589357394699"@/System/Volumes/Data/SWE/macOS/BuildRoots/9dc5c14c79/Library/Caches/com.apple.xbs/Sources/xnu/xnu-7195.141.14/osfmk/i386/locks_i386.c:541
Backtrace (CPU 0), Frame : Return Address
0xffffffa05dcf2ad0 : 0xffffff801be8c26d 
0xffffffa05dcf2b20 : 0xffffff801bfd3993 
0xffffffa05dcf2b60 : 0xffffff801bfc3f8a 
0xffffffa05dcf2bb0 : 0xffffff801be30a2f 
0xffffffa05dcf2bd0 : 0xffffff801be8ba8d 
0xffffffa05dcf2cf0 : 0xffffff801be8bd83 
0xffffffa05dcf2d60 : 0xffffff801c69c7ba 
0xffffffa05dcf2dd0 : 0xffffff801c6a04ed 
0xffffffa05dcf2e10 : 0xffffff801bfb8985 
0xffffffa05dcf2e30 : 0xffffff801bead1a6 
0xffffffa05dcf2e60 : 0xffffff801bedbf5f 
0xffffffa05dcf2f20 : 0xffffff801bfaf7d3 
0xffffffa05dcf2f60 : 0xffffff801bfcd00a 
0xffffffa05dcf2f80 : 0xffffff801bfc372b 
0xffffffa05dcf2fd0 : 0xffffff801be30bdd 
0xffffffb0d02fbda0 : 0xffffff801bee563e 
0xffffffb0d02fbe00 : 0xffffff801c44ecbf 
0xffffffb0d02fbf00 : 0xffffff801c44dd36 
0xffffffb0d02fbf40 : 0xffffff801c53ebee 
0xffffffb0d02fbfa0 : 0xffffff801be311f6 

Process name corresponding to current thread: Obsidian Helper (Renderer)

Hopefully someone from Obsidian can look at the crash.

Odd that Swedish isn’t on the list of available languages. Wonder why…

Angel

Ah, sorry, I didn’t carefully read your suggestion. I set the language inside the app, not inside the System Preferences.
Swedish is there and if I choose Swedish I get the correct ordering and English as language. :ok_hand:

I suspect this means that Obsidian will change to use Swedish as app language when that becomes available, but for the time being, I’m happy with this. :blush:

1 Like

Good to hear.

:angel: