JSFiddle - React, Tailwind, and code Playground
HTML
<select name="country" id="country"></select>
JavaScript
var result = {
ROM: "Romania",
YUG: "Yugoslavia",
PRT: "Portugal",
MKD: "Macedonia",
GRC: "Greece",
FRA: "France",
ISL: "Iceland",
LUX: "Luxembourg",
HUN: "Hungary",
GBR: "United Kingdom"
};
var options = $.map(result, function (key, value) {
return new Option(key, value);
}).sort(function (a, b) {
return a.text.localeCompare(b.text);
});
$('#country').append(options);