@Override
	public int compareTo(HoldBackMessage hbm)
	{
		int returnVal = 0;
		VectorTimeStamp vts = (hbm.getMessage().getGroupTimeStamp());
		VectorTimeStamp current = (this.getMessage().getGroupTimeStamp());
		for(int i=0; i<vts.getVectorLength(); i++)
		{
			if(current.getVector()[i] > vts.getVector()[i] )
			{
				if(returnVal==0)
				{
					returnVal = 1;
				}
				else if (returnVal<0)
				{
					return 0;
				}
			}
			else if(current.getVector()[i] < vts.getVector()[i] )
			{
				if(returnVal == 0)
				{
					returnVal = -1;
				}
				else if(returnVal>0)
				{
					return 0;
				}
			}

		}
		return returnVal;
	}