/time doesn't sort tied times by date (when sorting by time asc/desc) #17

Open
opened 2025-07-07 01:59:37 +00:00 by fiveman1 · 1 comment

(Example) Phobic (bhop). The top 6 times are tied.

image.png

https://strafes.fiveman1.net/maps/5692182017?style=1&game=1

https://api.strafes.net/api/v1/time?page_size=6&page_number=1&game_id=1&map_id=5692182017&mode_id=0&style_id=1&sort_by=0

I noticed that /times (when sorting by time asc/desc) does not sort by date for tied times. I know that I can sort the list myself, but there are some maps (fly trials) where there are over a hundred tied times, so it would go across a max-length page. One example is Candy Land (https://strafes.fiveman1.net/maps/5692113935?style=501&game=5) where the top 99 times are tied. There are better examples I just don't know them off the top of my head.

To add onto this, I noticed that /time/placement gives tied times the same placement. In-game they are displayed like this as well, but it would be neat if there was an option to calculate the placements based on tied date sorting as well. I care less about this though.

(Example) Phobic (bhop). The top 6 times are tied. <img width="584" alt="image.png" src="attachments/77b53520-379b-49d9-ba8b-1632a74b33c4"> https://strafes.fiveman1.net/maps/5692182017?style=1&game=1 https://api.strafes.net/api/v1/time?page_size=6&page_number=1&game_id=1&map_id=5692182017&mode_id=0&style_id=1&sort_by=0 I noticed that /times (when sorting by time asc/desc) does not sort by date for tied times. I know that I can sort the list myself, but there are some maps (fly trials) where there are over a hundred tied times, so it would go across a max-length page. One example is Candy Land (https://strafes.fiveman1.net/maps/5692113935?style=501&game=5) where the top 99 times are tied. There are better examples I just don't know them off the top of my head. To add onto this, I noticed that /time/placement gives tied times the same placement. In-game they are displayed like this as well, but it would be neat if there was an option to calculate the placements based on tied date sorting as well. I care less about this though.
108 KiB
itzaname added the Kind/Enhancement
Priority
Low
4
labels 2025-07-07 02:46:11 +00:00
Owner

I believe the game sorts the list after it receives it so I'll look into adding the tie breaker sort. Will not be adding alternate placement methods.

I believe the game sorts the list after it receives it so I'll look into adding the tie breaker sort. Will not be adding alternate placement methods.
Sign in to join this conversation.