public final int compare(Object o1, Object o2)
    {
      TLanguageFile p1 = null ;
      TLanguageFile p2 = null ;

      try
      {
        p1 = (TLanguageFile) o1 ;
        p2 = (TLanguageFile) o2 ;
      }
      catch (Exception e) {}

      int back = 0 ;

      if ((p1 != null) && (p2 != null))
      {
        back = compareTo(p1.getLanguageCode(), p2.getLanguageCode()) ;
        if (back == 0)
          back = compareTo(p1.getCountryCode(), p2.getCountryCode()) ;
      }

      return back ;
    }