add support number of string in __construct of Priority
Merge pull request #6159