code: public int compareTo(Country country) {
          String thisCode = this.getCode();
          String otherCode = country.getCode();
          return thisCode.compareTo(otherCode);
      }
docs: Compares two ISOCountry objects for ordering.
  Returns the value <code>zero</code> if the two countries have equal
  country codes.  Returns a value less than <code>zero</code> if this
  country code is before the country argument and a value greater than
  <code>zero</code> if this country is after the country argument. Will
  result in alphabetical sorting.