final Map<String, String> countries = referentialDataService.getCountriesByLocale(locale);
if(countries != null){
Set<String> countriesKey = countries.keySet();
for (Iterator<String> iterator = countriesKey.iterator(); iterator.hasNext();) {
final String countryKey = (String) iterator.next();
countriesValues.add(new ValueBean(countryKey.replace(Constants.COUNTRY_MESSAGE_PREFIX, ""), countries.get(countryKey)));
}
Collections.sort(countriesValues, new Comparator<ValueBean>() {
@Override
public int compare(ValueBean o1, ValueBean o2) {
return o1.getValue().compareTo(o2.getValue());