diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-06-10 17:07:01 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-06-10 17:07:01 -0300 |
commit | 531219642b93a5dc236f217d22f024fb2707191f (patch) | |
tree | 644449168c11152546f883bf4122a97fd17d0d16 /src/static | |
parent | 6e430bcdf251fbc8cbcfd4c48a8bbc1bf134120f (diff) |
various sorting improvements across the board
- several bugs introduced during data restructure fixed - a few areas where sorting functions were present but completely ineffective (albeit harmlessly so) fixed - new composite sorting utils are more deterministic by considering multiple factors instead of e.g. only name, only date - component sorting functions can be combined and pay more attention to determinism and only moving items when it's covered by the scope of the component (i.e. they can more readily be composited / used together) - names are normalized in a more particular manner (for alphabetical sorting) - accents are stripped, "ü" sorts as "u" - punctuation is stripped, "dave's" sorts as "daves" - (some) diacritics are expanded, "ff" sorts as "ff" - any sequential whitespace treated as one typical space - whitespace is trimmed from start and end - english prefix "a" / "an" stripped in addition to "the" - alphabetical sorting uses localeCompare and considers numeric strings more naturally, "Homestuck Vol. 10" sorts after "Homestuck Vol. 5"
Diffstat (limited to 'src/static')
0 files changed, 0 insertions, 0 deletions