isc.ListGrid.create({
    ID: "countryList",
    width:500, height:224, alternateRecordStyles:true,
    data: countryData,
    fields:[
        {name:"countryCode", title:"Flag", width:50, type:"image", imageURLPrefix:"flags/16/", imageURLSuffix:".png",
            canSort:false
        },
        {name:"countryName", title:"Country"},
        {name:"population", title:"Population", format:",0"},
        {name:"area", title:"Area (km&sup2;)", format:",0"}
    ],
    // initial sort on Population, high-to-low
    sortFieldNum: 2,
    sortDirection: "descending"
})
