protected static function applySortBy(array $prefixes, $sortBy): array
    {
        if($sortBy === 'count' || $sortBy === '')
        {
            return $prefixes;
        }

        if($sortBy === 'alpha')
        {
            sort($prefixes);
            return $prefixes;
        }
    }