Numerical ordering of collections in the Android app
A new plugin (Numify) has just been released, allowing collections to be sorted numerically by prefix, including nested subcollections (1.1 X; 1.1.1 Y, etc.). The plugin renumbers automatically, is easy to use, and sorts collections correctly in the desktop app.
However, the Android app sorts them alphabetically, resulting in:
1 X
10 Y
11 Z
...
2 A
20 B
21, and so on...
Android app sorts nested subcollections correctly... the issue is with the “main” collections. Is there a way to set numerical sorting on Android?
However, the Android app sorts them alphabetically, resulting in:
1 X
10 Y
11 Z
...
2 A
20 B
21, and so on...
Android app sorts nested subcollections correctly... the issue is with the “main” collections. Is there a way to set numerical sorting on Android?
Upgrade Storage
To give you some insight into this issue in the official Android app: we would prefer the sorting logic to be exactly the same across all platforms for consistency. However, so far we haven’t been able to achieve that on Android.
Here is a fairly old issue that explains the problem in more detail:
https://github.com/zotero/zotero-android/issues/97
I can’t clearly remember what I tried before, as it was quite a while ago, but it might be worth trying a third-party sorting library or implementing custom sorting logic.
Currently, the development team is focused on new features and other bug fixes. However, I believe that fixing this bug in the official Android app would benefit not only Numify plugin users, but many others as well.
So if you have the time and interest to help figure this out for the official app, I’d be happy to assist by reviewing PRs.
I have asked the developer to see if it is possible to add a “zero” to the suffix of the collection title, but I'm not sure if that is feasible, and if it would solve this issue. Something like this:
01 X
02 Y
03 Z
03.1 A
03.2 B, and so on...