Fixed runtime error in SortByCountryName, updated JavaDocs