You can find out which locals are supported with
Collator.getAvailableLocales()
Even if you create a local with Local.builder() if it is not supported in collator it won't work. Then you have to user RuleBasedCollator Curently sr_RS is available in Collator