private function sortOptions(array &
$options, int
$sortMode): void
{ if ($sortMode === Set::SORT_POSITION
) { $this->
sortOptionsByPosition($options);
return;
} if ($sortMode === Set::SORT_NUMERIC
) { $this->
sortOptionsNumericalValue($options);
return;
} $this->
sortOptionsAlphanumeric($options);
} /**
* @param array<Option> $options
*/
private function sortOptionsByPosition(array &
$options): void
{