[Bug]: Unnumbered entries sorted first #3204

Open
opened 2026-02-20 11:01:25 -05:00 by deekerman · 0 comments
Owner

Originally created by @skridofly on GitHub (Jan 26, 2026).

What happened?

When adding an audiobook entry into an already existing series, while leaving the sequence number empty, it will be displayed as the first of the entries.
When creating a new library from m4b files, which have the series and sequence numbers embedded, the unnumbered sequences will correctly be sorted last.

The correct sorting can also be achieved by deleting the series from the current library and readding it from correctly embedded m4bs.

What did you expect to happen?

Unnumbered sequences should be sorted as the last entries.

Steps to reproduce the issue

  1. Add an entries to an already existing series with a blanc sequence number
  2. Watch it get sorted first
  3. delete the series
  4. readd by scanning
  5. observe the entries be sorted last

Audiobookshelf version

v2.32.1

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Firefox

Logs


Additional Notes

This sorting is also observed in the mobile application.

Originally created by @skridofly on GitHub (Jan 26, 2026). ### What happened? When adding an audiobook entry into an already existing series, while leaving the sequence number empty, it will be displayed as the first of the entries. When creating a new library from m4b files, which have the series and sequence numbers embedded, the unnumbered sequences will correctly be sorted last. The correct sorting can also be achieved by deleting the series from the current library and readding it from correctly embedded m4bs. ### What did you expect to happen? Unnumbered sequences should be sorted as the last entries. ### Steps to reproduce the issue 1. Add an entries to an already existing series with a blanc sequence number 2. Watch it get sorted first 3. delete the series 4. readd by scanning 5. observe the entries be sorted last ### Audiobookshelf version v2.32.1 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Firefox ### Logs ```shell ``` ### Additional Notes This sorting is also observed in the mobile application.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/audiobookshelf-advplyr#3204
No description provided.