Jordan Pittman cea08380dc
Sort arbitrary variants deterministically regardless of content order (#10016)
* Fix off-by-one error in variant sort mapping

This didn’t actually have any negative effect because of how it was implemented. But it only happened to work right :D

* Make arbitrary variant sorting deterministic

* Update changelog

* Use faster byte-order comparison

We really only care that the order is _always_ the same. localeCompare is still locale dependent based on environment. This ensures it’s dependent on content only.

* Fix CS
2022-12-08 09:05:46 -05:00
..
2021-12-15 18:13:09 +01:00
2022-07-18 09:31:45 -04:00
2022-04-12 14:13:04 -04:00
2021-09-21 12:43:44 -04:00
2021-09-21 12:37:49 -04:00