"Sort By Date Added" not working correctly
Type
Game behaviour
Bug description
This is a problem in lazer where sorting by Date Added doesn't work correctly on songs imported from stable. I had just run the setup wizard again to get some songs from a beatmap pack I had downloaded.
In the video below, I show that the top and bottom of the list have maps I have played, while in the middle are the songs I had just gotten in a beatmap pack on stable (in the correct order after that point nonetheless.
I downloaded a map off the in-game beatmap listing afterwards, and that showed correctly at the top, so maybe the setup wizard doesn't count songs as being "added" on a specific date.
Screenshots or videos
Version
2024.130.2-lazer
Logs
There's no video.
Can attest to that being an issue, it was working until at some point it suddenly wasn't. Here is the video showing issue at hand.
I've already had most of my beatmaps imported in the past and ran import once more couple minutes before writing this comment.
In the video you can see that lazer now is loosely following the order of beatmaps in stable due to some maps being re-imported and placed somewhere
https://github.com/ppy/osu/assets/96246908/a1f89676-30e2-4792-9a28-1b95f76032a9
pretty sure this is related to hard links if the OS supports it (assuming in both of these cases it does), and therefore it is using the date of the hard link/shortcut being created, it might have worked correctly if it was just making a 1:1 copy of the beatmap and not using hard links.
is this something that can even be fixed?
I did the import after hard links were implemented, that's for sure. But if we take for granted that beatmaps are sorted by the date of hard link being created, in what order exactly maps are being imported/hard links are being created then? (unless there's none, which would be a bit strange)
If they are imported by mapset id in ascending order (which would be fair), then it begs the question why maps appear not in that order. The same point stands with the case if they were imported with their order in Songs directory in mind