@Override
	public int compareTo(Object arg0) {
		GameAddress ga = (GameAddress)arg0;
		if(gameName.compareTo(ga.gameName) < 0){
			return -1;
		}else if(gameName.compareTo(ga.gameName) > 0){
			return 1;
		}else{
			if(host.compareTo(ga.host) < 0){
				return -1;
			}else if(host.compareTo(ga.host) > 0){
				return 1;
			}else{
				if(port > ga.port){
					return 1;
				}else if(port < ga.port){
					return -1;
				}else{
					return 0;
				}
			}
		}
	}