Notebook sorting inconsistent between desktop and mobile

Bug report

The sorting of notebooks are inconsistent between the mobile (Android) client and the desktop client, see the following two examples:

Untitled

Left: Desktop
Right: Android

This specific desktop screenshot is from Windows, but as I also use Linux daily I know it is the same way as on Windows.

Environment

  • Platform:
    • Desktop: Windows & Linux
    • Mobile: Android
  • Platform version:
    • Desktop: Windows 11 Pro 21H2 22000.613 & Manjaro 22.0
    • Mobile: Android 11
  • App Version:
    • Desktop: v5.5.1
    • Mobile: v4.2.4 (73)

How to reproduce

  1. Make a notebook
  2. Prefix it with some character that is not a letter (only tested with underscore)

Hi Magnus,

Thanks for the report.
That’s weird.
Both implementations are identical, using localeCompare to sort the items.
I’m currently rebuilding the mobile app:

I’ll revisit the issue when implementing the sidebar.