Closed randomidiot13 closed 1 year ago
Good catch. I added this change but implemented it slightly differently
https://github.com/ACMerriman/scorigami/commit/69fac5512ff9162228130affeb19c046c1d3c4c8
Your implementation doesn't seem to work properly. The dates are timestamp strings, so subtracting them just gives NaN. Interestingly, this appears to have the effect of putting currently playing games at the front.
ID is mostly though not fully correlated with date, which occasionally leads to strange game orders. Sorting by date, with ID as a secondary key to ensure consistency, is probably more intuitive and helpful.