Closed Remo closed 6 months ago
Here we sort in a different way: https://github.com/concrete5/concrete5-legacy/blob/master/web/concrete/core/models/attribute/types/select.php#L381-L383
Than here: https://github.com/concrete5/concrete5-legacy/blob/master/web/concrete/core/models/attribute/types/select.php#L448-L454
I also wonder if we shouldn't use something like this:
$comparer = new \Punic\Comparer(\Localization::activeLocale()); $compare->compare($a, $b);
Here we sort in a different way: https://github.com/concrete5/concrete5-legacy/blob/master/web/concrete/core/models/attribute/types/select.php#L381-L383
Than here: https://github.com/concrete5/concrete5-legacy/blob/master/web/concrete/core/models/attribute/types/select.php#L448-L454
I also wonder if we shouldn't use something like this: