New songs added to a playlist are not sorted correctly

Issue description:

Got this issue with the new 13.6.0a update.

Any song that is added to a playlist is now on top by default. You can tell when sorting by “Added order (descending)”. The new songs should be at the bottom but are at the top.

Selecting “Added order (ascending)” also doesn’t seem to sort it out properly. When adding multiple songs, they will stay in the order you added them, relative to each other, no matter what sorting option you choose.

Logs:

Upload description: Shuto

Additional information:

 
First Screenshot is a batch of new songs added after the update. Sorting is set to “Manual order” which is the default. The songs are rightfully located at the very bottom of the list.

Second is a Screenshot of the same playlist. Sorting is set to “Added order (descending)” meaning the new songs should not appear here but at the very bottom. Yet we can see them here. It should also be noted that they were not added in the correct order in which I added them.

Last is a Screenshot of the same playlist. Sorting is set to “Added order (ascending)” yet each song of the newly added batch we saw earlier did not move places even if all of them are now at the bottom of the playlist.
 

Reproduction steps:

 
Have a playlist containing songs added before the 13.6.0a update.

Add a new song to that playlist.
 

Media provider:

Local device

Screenshots:

 

    

Duplicate, will be fixed in next release.