[GH-ISSUE #878] Sorting a playlist does not play songs in that order #1463

Open
opened 2026-03-14 15:03:31 +03:00 by kerem · 1 comment
Owner

Originally created by @ChristianPayne on GitHub (Nov 20, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/878

Describe the bug
When sorting a playlist by most recently added and playing, it does not play the songs in the sorted order. After the first song is played, it stops playing like the playlist is over.

To Reproduce

  1. Go to a playlist.
  2. Sort by recently added (s D)
  3. Reverse sort to get the most recent (s r)
  4. Play the first song

Expected behaviour
After playing the first song (the most recent) it should go to the second song in the list (the second most recent song).

Log and backtrace
N/A - This isn't an error but more a behavior bug.

Screenshots
N/A

Environment

  • OS: MacOS
  • Application version: 0.21.2
  • Application features: N/A (downloaded with brew)

Additional context

  • I would be interested in trying to tackle this as a first issue with some guidance. Looking to contribute to open source 👍🏻
Originally created by @ChristianPayne on GitHub (Nov 20, 2025). Original GitHub issue: https://github.com/aome510/spotify-player/issues/878 **Describe the bug** When sorting a playlist by most recently added and playing, it does not play the songs in the sorted order. After the first song is played, it stops playing like the playlist is over. **To Reproduce** 1. Go to a playlist. 2. Sort by recently added (s D) 3. Reverse sort to get the most recent (s r) 4. Play the first song **Expected behaviour** After playing the first song (the most recent) it should go to the second song in the list (the second most recent song). **Log and backtrace** N/A - This isn't an error but more a behavior bug. **Screenshots** N/A **Environment** - OS: MacOS - Application version: 0.21.2 - Application features: N/A (downloaded with brew) **Additional context** - I would be interested in trying to tackle this as a first issue with some guidance. Looking to contribute to open source 👍🏻
Author
Owner

@ChristianPayne commented on GitHub (Nov 20, 2025):

It doesn't even look like sorting is an option through the Spotify Web API. Client-side sorting is what I see as implemented right now.

To fix this "issue", which may be more of a limitation of the API, we would need to walk the playlist as we see it and play every song in the order we see it. That seems like an anti pattern from how Spotify works as well as a ton of extra work just for this one feature.

<!-- gh-comment-id:3559726753 --> @ChristianPayne commented on GitHub (Nov 20, 2025): It doesn't even look like sorting is an option through the Spotify Web API. Client-side sorting is what I see as implemented right now. To fix this "issue", which may be more of a limitation of the API, we would need to walk the playlist as we see it and play every song in the order we see it. That seems like an anti pattern from how Spotify works as well as a ton of extra work just for this one feature.
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/spotify-player#1463
No description provided.