public static function compareTag(?string $a, ?string $b): int
    {
        if (null === $a) {
            return null === $b ? 0 : -1;
        }
        return null === $b ? 1 : strcmp($a, $b);
    }